I have some logic in a push button to save a record with a sequential number, which is stored in a control table. The logic only works once unless I close the form and re-enter it again. Does anybody know what could be causing the problem. I have added the code to obtain and store the...
I am trying to draw some bitmap and set some of the bits to transparent. I have been searching the web and found some pages that use ddutil.cpp and ddutil.h for directdraw. I have tried to add these programs to my aplication but cannot get it to compile (getting errors with all lines containg...
I am trying to find a way to place a bitmap image on my program's background. I have no problem if the bitmap is a rectangle, however I currently need a way to place a round image as a bitmap. I was trying to find out if there is a function, that when drawing a bitmap ignores a color mask...
I am trying to develop a simple card game and use a 800x600 bitmap (created through MS Paint) as a background image. I display the cards also in a bitmap image. My problem comes when I try to remove the cards, I redraw the entire background bitmap again, which causes parts of the screen to...
Hi,
I am trying to display bitmap images in my program, but for some reason certain images will not display. I have created the images through MSPaint. The only difference I did was by scanning the images in or drawing through paint. The files that were drawn through paint are getting saved...
Hi,
I am trying to write a program that read files in a directory and move them to specific folders based on their extension. The files are sent over from another computer through ftp. I have a form that contain a command button and a check box. The check box is used to have it run...
I have a form that I keep getting this error message. I can create the problem by deleting a record and re-adding it with the same key. The table is using a "Candidate" index and the form has SET DELETED ON. If I change the index to "Regular", I can re-add the record. Is there something I...
Hi,
Does anyone see why I cannot open a list of text files for input. I keep getting an "Access denied" when trying to issue the FOPEN command.
Thanks
searchdir = alltr(thisform.txt_in.value) + "*.*"
gnumber = ADIR(gaMessages, searchdir) && Create array
for ncount = 1 to gnumber
fname...
Is there a way to prevent the user from moving a dialog box after it is displayed on the sceen. I can prevent it from moving by creating the dialog box with "control" set, but that removes the top title bar.
Thanks
I have a Dialog box that contains combo boxes, check boxes and edit boxes. When the user selects some of the check boxes I need to disable some combo and edit boxes. Is there a way to disables the combo boxes after they are created. The only way I get get it working is by redrawing the boxes...
I am trying to create a win32 application with a menu bar on the main window. This menu bar has an option to open a dialog box with list boxes. I am trying to fill these list boxes by usuing the "LB_ADDSTRING" message. However when I click on the list box to drop down the list, none of the...
I have added a drop down list to a dialog based application, created through appwizard, but cannot get the list to show when the drop down arrow is selected. The drop down list was entered through the data tab of the combobox properties. The type of box was changed to "Drop List", with sort and...
Is there a way to place a modal dialog box of the screen by giving an x, y offset. I use the command
DialogBox(g_hInst, MAKEINTRESOURCE(IDD_OPTIONS), hwnd, (DLGPROC)
to place it on the screen, but is always goes to the top left corner.
I am working on an application that uses a solid green backgroup. I have a pop up window that allows a user some options. After an option is selected the popup window is removed by calling EndDialog. Everything is working fine unless the user moves the dialog. If the dialog box is moved...
I am trying to find a way to have FoxPro (currently version 5) connect to a Unix system to transfer data through TCP/IP. The FoxPro end will serve as the server and the Unix side will serve as the client. I was looking at the InternetOpen and InternetConnect commands, but I cannot see a command...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.