Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNumber of days between two days Pin
Anton A. Loukine28-Jan-03 10:29
Anton A. Loukine28-Jan-03 10:29 
GeneralRe: Number of days between two days Pin
Tim Smith28-Jan-03 10:33
Tim Smith28-Jan-03 10:33 
GeneralRe: Number of days between two days Pin
Alvaro Mendez28-Jan-03 11:45
Alvaro Mendez28-Jan-03 11:45 
GeneralLet's complicate the matter a bit ... Pin
Anton A. Loukine29-Jan-03 3:26
Anton A. Loukine29-Jan-03 3:26 
GeneralRe: Let's complicate the matter a bit ... Pin
Alvaro Mendez29-Jan-03 4:24
Alvaro Mendez29-Jan-03 4:24 
QuestionON_COMMAND for a dynamic menu? Pin
ns28-Jan-03 10:07
ns28-Jan-03 10:07 
AnswerRe: ON_COMMAND for a dynamic menu? Pin
ns28-Jan-03 11:23
ns28-Jan-03 11:23 
GeneralProperty Pages and Buttons Pin
John W Hagen28-Jan-03 10:03
John W Hagen28-Jan-03 10:03 
I have implemented a Property Sheet with multiple property pages. I have set a few buttons on one of my pages and can't seem to get a handle to allow me to disable (grey) the button. I know I am doing something wrong and can't figure it out so please point me in the right direction. Sample code or correcting mine would help the most.

<br />
	CWnd		*pWnd = AfxGetMainWnd();<br />
	CButton*	pButton = (CButton*) pWnd->GetDlgItem(IDC_ENGINE_LIGHT_DELETE);<br />
	pButton->EnableWindow(FALSE);<br />


Thanks!

John Hagen
GeneralRe: Property Pages and Buttons Pin
Member 10559028-Jan-03 18:19
Member 10559028-Jan-03 18:19 
GeneralRe: Property Pages and Buttons Pin
Debs29-Jan-03 0:24
Debs29-Jan-03 0:24 
GeneralRe: Property Pages and Buttons Pin
John W Hagen29-Jan-03 1:14
John W Hagen29-Jan-03 1:14 
GeneralRe: Property Pages and Buttons Pin
John W Hagen29-Jan-03 1:16
John W Hagen29-Jan-03 1:16 
GeneralUsing Microsoft C++ 6.0 instead of using old C Compiler... Pin
IrishSonic28-Jan-03 9:47
IrishSonic28-Jan-03 9:47 
GeneralRe: Using Microsoft C++ 6.0 instead of using old C Compiler... Pin
AlexO28-Jan-03 11:08
AlexO28-Jan-03 11:08 
GeneralRe: Using Microsoft C++ 6.0 instead of using old C Compiler... Pin
IrishSonic28-Jan-03 11:27
IrishSonic28-Jan-03 11:27 
GeneralRe: Using Microsoft C++ 6.0 instead of using old C Compiler... Pin
AlexO29-Jan-03 9:53
AlexO29-Jan-03 9:53 
QuestionGet point size from font? Pin
Moak28-Jan-03 9:02
Moak28-Jan-03 9:02 
AnswerRe: Get point size from font? Pin
valikac28-Jan-03 9:13
valikac28-Jan-03 9:13 
GeneralRe: Get point size from font? Pin
Moak28-Jan-03 9:26
Moak28-Jan-03 9:26 
GeneralRe: Get point size from font? Pin
valikac28-Jan-03 12:05
valikac28-Jan-03 12:05 
GeneralRe: Get point size from font? Pin
Moak28-Jan-03 20:12
Moak28-Jan-03 20:12 
QuestionHow to draw shadow for my thumbnail image? Pin
Hiusing28-Jan-03 8:06
Hiusing28-Jan-03 8:06 
AnswerRe: How to draw shadow for my thumbnail image? Pin
Chris Losinger28-Jan-03 8:37
professionalChris Losinger28-Jan-03 8:37 
AnswerRe: How to draw shadow for my thumbnail image? Pin
#realJSOP28-Jan-03 9:30
professional#realJSOP28-Jan-03 9:30 
GeneralXML Document Pin
Jamie Hale28-Jan-03 8:06
Jamie Hale28-Jan-03 8:06 

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.