Click here to Skip to main content
15,887,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use SetFormat function of class CDateTimeCtrl properly Pin
_AnsHUMAN_ 28-May-08 20:34
_AnsHUMAN_ 28-May-08 20:34 
QuestionRe: How to use SetFormat function of class CDateTimeCtrl properly Pin
David Crow29-May-08 4:14
David Crow29-May-08 4:14 
QuestionDirect3D problem Pin
Ali Tavakol28-May-08 19:32
Ali Tavakol28-May-08 19:32 
AnswerRe: Direct3D problem Pin
Rajkumar R29-May-08 2:47
Rajkumar R29-May-08 2:47 
QuestionCRunTimeClass Error Pin
prithaa28-May-08 19:02
prithaa28-May-08 19:02 
AnswerRe: CRunTimeClass Error Pin
SandipG 28-May-08 19:04
SandipG 28-May-08 19:04 
GeneralRe: CRunTimeClass Error Pin
prithaa28-May-08 19:47
prithaa28-May-08 19:47 
QuestionReg setting a wait cursor Pin
V K 228-May-08 18:28
V K 228-May-08 18:28 
Hi,
I have an activeX control which is similar to a List control. When I rightclick on ActiveX control a popup menu appears with menu items suppress and unsuppress. When I press suppress the data in ActiveX control disappears and unsuppress will show the data in ActiveX control.. I am facing a problem.. When user presses Suppress and even before the data gets hidden from ActiveX control if user again presses the Unsuppress menu item then a error message is logged.. I want to handle this situation.. I think of setting a Waitcursor immediately after user presses SuppressAll.. But when I am unable to Set Wait cursor with the following code snippet.


HCURSOR hWaitCursor;
LoadCursor(NULL,IDC_WAIT);
SetCursor(hWaitCursor);
ShowCursor(TRUE);

or

AfxGetApp()->DoWaitCursor(1);



Can anyone suggest me how to set wait cursor in the above scenario..


Thanks
Venkat
AnswerRe: Reg setting a wait cursor Pin
SandipG 28-May-08 18:36
SandipG 28-May-08 18:36 
GeneralRe: Reg setting a wait cursor Pin
V K 228-May-08 18:46
V K 228-May-08 18:46 
GeneralRe: Reg setting a wait cursor Pin
SandipG 28-May-08 18:52
SandipG 28-May-08 18:52 
GeneralRe: Reg setting a wait cursor Pin
V K 228-May-08 19:10
V K 228-May-08 19:10 
GeneralRe: Reg setting a wait cursor Pin
SandipG 28-May-08 19:25
SandipG 28-May-08 19:25 
QuestionRe: Reg setting a wait cursor Pin
Rajesh R Subramanian28-May-08 19:21
professionalRajesh R Subramanian28-May-08 19:21 
AnswerRe: Reg setting a wait cursor Pin
V K 228-May-08 22:40
V K 228-May-08 22:40 
GeneralRe: Reg setting a wait cursor Pin
Rajesh R Subramanian28-May-08 23:01
professionalRajesh R Subramanian28-May-08 23:01 
QuestionStatic variable Pin
CodingLover28-May-08 17:55
CodingLover28-May-08 17:55 
AnswerRe: Static variable Pin
Paresh Chitte28-May-08 19:07
Paresh Chitte28-May-08 19:07 
GeneralRe: Static variable Pin
CodingLover28-May-08 20:52
CodingLover28-May-08 20:52 
QuestionOpenGL for Visual C++ 2008 Pin
Ranger4928-May-08 16:53
Ranger4928-May-08 16:53 
AnswerRe: OpenGL for Visual C++ 2008 Pin
Rajkumar R29-May-08 2:32
Rajkumar R29-May-08 2:32 
GeneralRe: OpenGL for Visual C++ 2008 Pin
Ranger4929-May-08 6:05
Ranger4929-May-08 6:05 
GeneralRe: OpenGL for Visual C++ 2008 Pin
Rajkumar R29-May-08 19:40
Rajkumar R29-May-08 19:40 
QuestionWhere is ClassWizard in VC2005? Pin
includeh1028-May-08 14:56
includeh1028-May-08 14:56 
AnswerRe: Where is ClassWizard in VC2005? Pin
David Crow28-May-08 16:25
David Crow28-May-08 16:25 

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.