Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: disabling devices Pin
Subrat Patnaik23-Jul-09 23:56
Subrat Patnaik23-Jul-09 23:56 
QuestionHow to make report Pin
Max++21-Jul-09 23:26
Max++21-Jul-09 23:26 
AnswerRe: How to make report Pin
_AnsHUMAN_ 21-Jul-09 23:42
_AnsHUMAN_ 21-Jul-09 23:42 
QuestionHowto check xp was shutdown correctly Pin
tetzschner21-Jul-09 22:59
tetzschner21-Jul-09 22:59 
AnswerRe: Howto check xp was shutdown correctly [modified] Pin
Adam Roderick J22-Jul-09 2:32
Adam Roderick J22-Jul-09 2:32 
GeneralRe: Howto check xp was shutdown correctly Pin
tetzschner23-Jul-09 2:51
tetzschner23-Jul-09 2:51 
QuestionSend scsi command to usb device using DeviceIoControl method Pin
Nekkantidivya21-Jul-09 22:45
Nekkantidivya21-Jul-09 22:45 
QuestionLayered window causing redraw anomalies under itself Pin
Code-o-mat21-Jul-09 22:22
Code-o-mat21-Jul-09 22:22 
Hey people!

In our program a dialog box is displayed with an edit field and some buttons and above the dialog a layered notification window is brought up, stays up for a while (the user has to wait at that point) and then is faded out (using UpdateLayeredWindow). The problem is that all the controls on the dialog (which was under the layered window) remain undrawn and the dialog looks like it has holes on it where the edit field and buttons are (you can then make the controls be drawn for example by dragging another window over the dialog and then removing it). Any idea why we get this and how we could resolve it? I tried playing with the clipchildren style and also tried using RedrawWindow to trigger a redraw but it did not work, also using a RedrawWindow-like solution is very ugly and problematic because the dialog and the layered window both are brought up by different message handlers from different parts of the code and they generally do not know of each other (and i would really like to keep it that way).

Thanks in advance for any usefull hints, fellas.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

Question_stat function and files before 1970 Pin
vikramlinux21-Jul-09 22:22
vikramlinux21-Jul-09 22:22 
AnswerRe: _stat function and files before 1970 Pin
Michael Schubert21-Jul-09 22:41
Michael Schubert21-Jul-09 22:41 
AnswerRe: _stat function and files before 1970 Pin
Stuart Dootson21-Jul-09 22:42
professionalStuart Dootson21-Jul-09 22:42 
GeneralRe: _stat function and files before 1970 Pin
vikramlinux22-Jul-09 1:38
vikramlinux22-Jul-09 1:38 
GeneralRe: _stat function and files before 1970 Pin
Stuart Dootson22-Jul-09 2:03
professionalStuart Dootson22-Jul-09 2:03 
GeneralRe: _stat function and files before 1970 Pin
vikramlinux22-Jul-09 3:07
vikramlinux22-Jul-09 3:07 
GeneralRe: _stat function and files before 1970 Pin
Stuart Dootson22-Jul-09 3:41
professionalStuart Dootson22-Jul-09 3:41 
QuestionHow to add control from userdefined class to dialog window. Pin
Murugan k21-Jul-09 20:44
Murugan k21-Jul-09 20:44 
AnswerRe: How to add control from userdefined class to dialog window. Pin
Cedric Moonen21-Jul-09 21:06
Cedric Moonen21-Jul-09 21:06 
QuestionUpdating Resource Strings Pin
Benjamin Bruno21-Jul-09 19:38
Benjamin Bruno21-Jul-09 19:38 
AnswerRe: Updating Resource Strings Pin
«_Superman_»21-Jul-09 22:19
professional«_Superman_»21-Jul-09 22:19 
QuestionRichedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
sharp_k21-Jul-09 14:12
sharp_k21-Jul-09 14:12 
AnswerRe: Richedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
Stuart Dootson21-Jul-09 16:30
professionalStuart Dootson21-Jul-09 16:30 
GeneralRe: Richedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
sharp_k21-Jul-09 18:11
sharp_k21-Jul-09 18:11 
GeneralRe: Richedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
_AnsHUMAN_ 21-Jul-09 20:23
_AnsHUMAN_ 21-Jul-09 20:23 
GeneralRe: Richedit2 in Visual Studio 2008 cause the MFC dialog not to display Pin
sharp_k22-Jul-09 4:50
sharp_k22-Jul-09 4:50 
QuestionHow to run Windows Applications without login Pin
Jun Du21-Jul-09 11:16
Jun Du21-Jul-09 11:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.