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

C / C++ / MFC

 
GeneralRe: How to change day with button click. Pin
Ashish Chauhan11-Mar-08 21:09
Ashish Chauhan11-Mar-08 21:09 
AnswerRe: How to change day with button click. Pin
Rajesh R Subramanian11-Mar-08 21:55
professionalRajesh R Subramanian11-Mar-08 21:55 
GeneralRe: How to change day with button click. Pin
Ashish Chauhan11-Mar-08 22:43
Ashish Chauhan11-Mar-08 22:43 
GeneralRe: How to change day with button click. Pin
Rajesh R Subramanian11-Mar-08 23:21
professionalRajesh R Subramanian11-Mar-08 23:21 
GeneralRe: How to change day with button click. Pin
Ashish Chauhan11-Mar-08 23:30
Ashish Chauhan11-Mar-08 23:30 
GeneralRe: How to change day with button click. Pin
Ashish Chauhan11-Mar-08 23:33
Ashish Chauhan11-Mar-08 23:33 
GeneralRe: How to change day with button click. Pin
Rajesh R Subramanian11-Mar-08 23:41
professionalRajesh R Subramanian11-Mar-08 23:41 
AnswerRe: How to change day with button click. Pin
Rajesh R Subramanian12-Mar-08 0:05
professionalRajesh R Subramanian12-Mar-08 0:05 
Please try this code and tell me if it worked:
HWND hPWnd = CreatePropSheet(); //CreatePropSheet returns a handle to the created prop sheet!
RECT rc;

GetWindowRect(hPWnd, &rc);

SetWindowPos(hPWnd, NULL,
   ((GetSystemMetrics(SM_CXSCREEN) - (rc.right - rc.left)) / 2),
   ((GetSystemMetrics(SM_CYSCREEN) - (rc.bottom - rc.top)) / 2),
   0, 0, SWP_NOSIZE | SWP_NOACTIVATE);


[ADD] BTW, Thanks for painting my messages red by voting. I appreciate it. Smile | :) [/ADD]


Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP

GeneralRe: How to change day with button click. Pin
Ashish Chauhan12-Mar-08 0:58
Ashish Chauhan12-Mar-08 0:58 
GeneralRe: How to change day with button click. Pin
Rajesh R Subramanian11-Mar-08 4:31
professionalRajesh R Subramanian11-Mar-08 4:31 
QuestionQuestion about how to kill thread that i create with _beginthreadex ? Pin
Yanshof10-Mar-08 20:35
Yanshof10-Mar-08 20:35 
AnswerRe: Question about how to kill thread that i create with _beginthreadex ? Pin
Maxwell Chen10-Mar-08 20:40
Maxwell Chen10-Mar-08 20:40 
AnswerRe: Question about how to kill thread that i create with _beginthreadex ? Pin
Peter Weyzen10-Mar-08 20:41
Peter Weyzen10-Mar-08 20:41 
GeneralRe: Question about how to kill thread that i create with _beginthreadex ? [modified] Pin
Yanshof10-Mar-08 21:15
Yanshof10-Mar-08 21:15 
GeneralRe: Question about how to kill thread that i create with _beginthreadex ? Pin
Cedric Moonen10-Mar-08 21:33
Cedric Moonen10-Mar-08 21:33 
GeneralRe: Question about how to kill thread that i create with _beginthreadex ? Pin
Yanshof10-Mar-08 21:39
Yanshof10-Mar-08 21:39 
GeneralRe: Question about how to kill thread that i create with _beginthreadex ? Pin
Peter Weyzen10-Mar-08 21:54
Peter Weyzen10-Mar-08 21:54 
QuestionHow virtual destructor works under the hood? Pin
abhijitr10-Mar-08 19:41
abhijitr10-Mar-08 19:41 
AnswerRe: How virtual destructor works under the hood? Pin
Peter Weyzen10-Mar-08 19:47
Peter Weyzen10-Mar-08 19:47 
GeneralRe: How virtual destructor works under the hood? Pin
Rajkumar R10-Mar-08 23:53
Rajkumar R10-Mar-08 23:53 
GeneralRe: How virtual destructor works under the hood? Pin
Peter Weyzen11-Mar-08 7:46
Peter Weyzen11-Mar-08 7:46 
GeneralRe: How virtual destructor works under the hood? Pin
Rajkumar R11-Mar-08 8:27
Rajkumar R11-Mar-08 8:27 
GeneralRe: How virtual destructor works under the hood? Pin
Peter Weyzen11-Mar-08 8:49
Peter Weyzen11-Mar-08 8:49 
AnswerRe: How virtual destructor works under the hood? Pin
Maxwell Chen10-Mar-08 20:36
Maxwell Chen10-Mar-08 20:36 
GeneralMissing Start Point Pin
Member 461894910-Mar-08 18:29
Member 461894910-Mar-08 18:29 

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.