Click here to Skip to main content
15,904,288 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to end process in task maneger Pin
David Crow25-Aug-06 5:15
David Crow25-Aug-06 5:15 
GeneralRe: how to end process in task maneger Pin
Hamid_RT25-Aug-06 9:48
Hamid_RT25-Aug-06 9:48 
GeneralRe: how to end process in task maneger Pin
David Crow25-Aug-06 9:59
David Crow25-Aug-06 9:59 
GeneralRe: how to end process in task maneger Pin
Hamid_RT25-Aug-06 10:10
Hamid_RT25-Aug-06 10:10 
AnswerRe: how to end process in task maneger Pin
David Crow25-Aug-06 5:23
David Crow25-Aug-06 5:23 
QuestionPropertySheets Pin
SandhyaSri25-Aug-06 2:47
SandhyaSri25-Aug-06 2:47 
AnswerRe: PropertySheets Pin
David Crow25-Aug-06 2:50
David Crow25-Aug-06 2:50 
AnswerRe: PropertySheets Pin
Zac Howland25-Aug-06 6:54
Zac Howland25-Aug-06 6:54 
If you will be enabling/disabling all the controls on a page fairly regularly, I would recommend writing a method to do it:

void MyClassPage::EnableAllWindows(BOOL bEnable)
{
	GetDlgItem(IDC_MYCTRL1)->EnableWindow(bEnable);
	GetDlgItem(IDC_MYCTRL2)->EnableWindow(bEnable);
	GetDlgItem(IDC_MYCTRL3)->EnableWindow(bEnable);
	...
	GetDlgItem(IDC_MYCTRLN)->EnableWindow(bEnable);
}


And just call that method as needed.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

QuestionLoading images on control derived from MCIwnd class Pin
RahulOP25-Aug-06 1:41
RahulOP25-Aug-06 1:41 
AnswerRe: Loading images on control derived from MCIwnd class Pin
Hamid_RT25-Aug-06 2:24
Hamid_RT25-Aug-06 2:24 
GeneralRe: Loading images on control derived from MCIwnd class Pin
RahulOP25-Aug-06 2:42
RahulOP25-Aug-06 2:42 
GeneralRe: Loading images on control derived from MCIwnd class Pin
Hamid_RT25-Aug-06 3:11
Hamid_RT25-Aug-06 3:11 
QuestionHow to handle VK_TAB virtual key in EditBox. Pin
sheshidar25-Aug-06 1:05
sheshidar25-Aug-06 1:05 
AnswerRe: How to handle VK_TAB virtual key in EditBox. Pin
David Crow25-Aug-06 2:41
David Crow25-Aug-06 2:41 
AnswerRe: How to handle VK_TAB virtual key in EditBox. Pin
Parthi_Appu25-Aug-06 3:09
Parthi_Appu25-Aug-06 3:09 
AnswerRe: How to handle VK_TAB virtual key in EditBox. Pin
Stephen Hewitt26-Aug-06 3:05
Stephen Hewitt26-Aug-06 3:05 
QuestionHow can I get a HBITMAP handle from a CImageList Object? Pin
Tcpip200525-Aug-06 0:55
Tcpip200525-Aug-06 0:55 
AnswerRe: How can I get a HBITMAP handle from a CImageList Object? Pin
prasad_som25-Aug-06 1:05
prasad_som25-Aug-06 1:05 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Tcpip200525-Aug-06 1:28
Tcpip200525-Aug-06 1:28 
AnswerRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Hamid_RT25-Aug-06 1:31
Hamid_RT25-Aug-06 1:31 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? [modified] Pin
Tcpip200525-Aug-06 1:51
Tcpip200525-Aug-06 1:51 
QuestionRe: How can I get a HBITMAP handle from a CImageList Object? Pin
prasad_som25-Aug-06 2:11
prasad_som25-Aug-06 2:11 
AnswerRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Tcpip200525-Aug-06 2:15
Tcpip200525-Aug-06 2:15 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
prasad_som25-Aug-06 2:25
prasad_som25-Aug-06 2:25 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Hamid_RT25-Aug-06 3:10
Hamid_RT25-Aug-06 3:10 

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.