high all,my application is having some problem. Only one problem, infact.the problem is that, my application gets started,it calls startButton() --> StartTimer()--> then the timer starts counting...now in the timerDefinetion...there is a function called DrawImage() is called...the draw Image o...
Hi,How to keep the proportions of a Window while resizing in a SDI project? I guess it can be done whit the help of WM_SIZING for the MainFrame object but I didnt manage to write a code that does the job. Any suggestions?thanx...
I make an application based on CFormView. The size of the main window is fixed. I arrange the controls so that they fit the main window well.Then I change the system font from "big font"(120 dpi) to "small font"(96 dpi) in "Display property" dialog of Windows 9x. The size of controls of the formview...
Hi,I Created a dialog when I click on NEw. rightnow, I would like to keep this infos after the dialog is destroyed when clicking on Cancel or OKHow can I do it ?ThanksOlivier...
Hi, I have built a treestructure with a treeview. When I insert items in the tree I get the handles for later use. So I do have to store these handles in a second structure, don´t I ? What structure could that be for a hierarchical tree ? thanx...
I embeded WORD in my applications using MFC automation, but I found when the embeded Word Application launched, the toolbar of my application disappeared. I had experience using IE to open Word document, the toolbar is still IE's. How could I do like IE? Thanks a lot in advance!...
All, I create two threads in MFC extension dll, one is for reading serial communications device in dead loop, another one is for writing serial communications device in dead loop. the device that was created with the FILE_FLAG_OVERLAPPED flag, and i create the OVERLAPPED structure with manual-re...
All, I create two threads in MFC extension dll, one is for reading serial communications device in dead loop, another one is for writing serial communications device in dead loop. the device that was created with the FILE_FLAG_OVERLAPPED flag, and i create the OVERLAPPED structure with manual-re...
I used win32 console to make some small program. After compiling and linking I execute the program. Everthing is ok, I want to see the output. But the window always vanished in a second.How can I keep the window and examine the result?Thank you indeed! ...
my application creates ftp connection with CFtpConnection. i want to keep the ftp session alive so that the application won't have to reconnect when the ftp connection is timeout. how to achieve it?...
Hi all, My application includes a third party component. Each time I ask it to draw the client area, it loads the default printer driver DLL. According to their developer, this is ensure that the image quality matches the printer, not the screen. However, when it finishes drawing, the driver DLL...
I have two List Control boxes in a dialog. and I wish the user can select a few items from the first list and some items from the second list, and then the user can see all the items he just chose are still highlighted in both lists.now after i selected one or some items in the first list(they'...
I added a toolbar with one bitmapped button on a dialog. When user clicks the toolbar button, I launch a popup menu. What I want is keep the toolbar button in pushdown mode/state until user selects a menu item from the popup menu or escapes/cancels the popup menu. How can I dynamically make the t...
Dear all,I am developing one application containing propertysheet. I want to validate the data that user enters in property pages.The problem I am facing is, when user enters wrong data, I validate this data in property page "OnOK" handler and corresponding message is shown to user. But when user cl...