Click here to Skip to main content
15,888,733 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: FTP REST command Pin
kakan5-Nov-06 19:21
professionalkakan5-Nov-06 19:21 
GeneralRe: FTP REST command Pin
rayong5-Nov-06 22:23
rayong5-Nov-06 22:23 
QuestionVS2005 Preprocessor quirks [modified] Pin
#realJSOP5-Nov-06 3:41
mve#realJSOP5-Nov-06 3:41 
AnswerRe: VS2005 Preprocessor quirks Pin
Sceptic Mole5-Nov-06 8:17
Sceptic Mole5-Nov-06 8:17 
GeneralRe: VS2005 Preprocessor quirks Pin
#realJSOP5-Nov-06 23:52
mve#realJSOP5-Nov-06 23:52 
AnswerRe: Modal floating controlbar Pin
Nibu babu thomas5-Nov-06 18:12
Nibu babu thomas5-Nov-06 18:12 
GeneralRe: Modal floating controlbar Pin
Nibu babu thomas13-Nov-06 21:22
Nibu babu thomas13-Nov-06 21:22 
GeneralRe: Modal floating controlbar Pin
Nibu babu thomas14-Nov-06 16:26
Nibu babu thomas14-Nov-06 16:26 
PrabhuDev wrote:
EnableWindow(FALSE);
ShowControlBar(&g_DemoBar, TRUE, FALSE);

MSG msg;
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
EnableWindow(TRUE);


Why are you writing this message loop here and why are you calling EnableWindow(FALSE).

You should write the message loop inside the ShowControlBar function. The message loop should come just after the Control bar is shown. There is no point in writing the message loop here.

There is no need to call EnableWindow anywhere. Look at what nishant has done.


Nibu thomas
A Developer

Programming tips[^]  My site[^]

QuestionRussian Project [modified] Pin
Hadi Dayvary4-Nov-06 23:59
professionalHadi Dayvary4-Nov-06 23:59 
AnswerRe: Russian Project Pin
A_Fa5-Nov-06 0:10
A_Fa5-Nov-06 0:10 
AnswerRe: Russian Project Pin
Waldermort5-Nov-06 0:11
Waldermort5-Nov-06 0:11 
GeneralRe: Russian Project Pin
Hadi Dayvary5-Nov-06 0:44
professionalHadi Dayvary5-Nov-06 0:44 
GeneralRe: Russian Project Pin
Waldermort5-Nov-06 1:29
Waldermort5-Nov-06 1:29 
QuestionCalculating free space Pin
Waldermort4-Nov-06 22:42
Waldermort4-Nov-06 22:42 
AnswerRe: Calculating free space [modified] Pin
Stephen Hewitt5-Nov-06 11:47
Stephen Hewitt5-Nov-06 11:47 
GeneralRe: Calculating free space Pin
Waldermort5-Nov-06 18:09
Waldermort5-Nov-06 18:09 
GeneralRe: VC++8 (VS2005) Deriving class w/ wizard Pin
jeffbeat4-Nov-06 21:00
jeffbeat4-Nov-06 21:00 
QuestionVC++8 (VS2005) Deriving class w/ wizard Pin
jeffbeat4-Nov-06 19:26
jeffbeat4-Nov-06 19:26 
AnswerRe: VC++8 (VS2005) Deriving class w/ wizard Pin
Midworld084-Nov-06 20:27
Midworld084-Nov-06 20:27 
QuestionODBC & FOR XML expilicit command [modified] Pin
canerabali4-Nov-06 14:34
canerabali4-Nov-06 14:34 
QuestionWhy the same RASdialup functionality doesn't exist in WININET?? Pin
Benlahrech .Dj4-Nov-06 13:52
Benlahrech .Dj4-Nov-06 13:52 
QuestionCustomising the title bar Pin
Sydes4-Nov-06 10:26
Sydes4-Nov-06 10:26 
AnswerRe: Customising the title bar Pin
Waldermort4-Nov-06 11:14
Waldermort4-Nov-06 11:14 
GeneralRe: Customising the title bar Pin
Sydes4-Nov-06 14:41
Sydes4-Nov-06 14:41 
Questionapplication configuration is incorrect Pin
edvintas4-Nov-06 8:00
edvintas4-Nov-06 8:00 

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.