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

C / C++ / MFC

 
QuestionWindows Vista Pin
San246812-Mar-07 23:43
San246812-Mar-07 23:43 
AnswerRe: Windows Vista Pin
Paresh Chitte13-Mar-07 0:02
Paresh Chitte13-Mar-07 0:02 
GeneralRe: Windows Vista Pin
San246813-Mar-07 1:13
San246813-Mar-07 1:13 
GeneralRe: Windows Vista Pin
Mark Salsbery13-Mar-07 7:23
Mark Salsbery13-Mar-07 7:23 
QuestionBasic Question Pin
Gupta Suraj12-Mar-07 22:44
Gupta Suraj12-Mar-07 22:44 
AnswerRe: Basic Question Pin
Cedric Moonen12-Mar-07 22:50
Cedric Moonen12-Mar-07 22:50 
GeneralRe: Basic Question Pin
ksrameshkanth12-Mar-07 23:26
ksrameshkanth12-Mar-07 23:26 
AnswerRe: Basic Question Pin
prasad_som12-Mar-07 23:27
prasad_som12-Mar-07 23:27 
Gupta Suraj wrote:
my perception is that the button should be the part of my dialog class.


Dialog class will be based on dilaog template resource, button would be part of that resource.

Gupta Suraj wrote:
How can I access that Button object. I need that object because I want to enable and disable that button according to some condition.

Apart from method Cedric has suggested, you can use GetDlgItem function for accessing controls on dialog,too.
GetDlgItem(IDC_MYBUTTON)->EnableWindow(FALSE);



AnswerRe: Basic Question Pin
Ranjoy Guha13-Mar-07 2:44
Ranjoy Guha13-Mar-07 2:44 
Questionhow to use combobox in flexgrid Pin
viral_umang@hotmail.com12-Mar-07 22:29
viral_umang@hotmail.com12-Mar-07 22:29 
GeneralRe: how to use combobox in flexgrid Pin
Paresh Chitte13-Mar-07 0:33
Paresh Chitte13-Mar-07 0:33 
Questionpassing integer value to thread Pin
sulabh_expert@rediffmail.com12-Mar-07 22:26
sulabh_expert@rediffmail.com12-Mar-07 22:26 
AnswerRe: passing integer value to thread Pin
Roger Stoltz12-Mar-07 23:06
Roger Stoltz12-Mar-07 23:06 
AnswerRe: passing integer value to thread Pin
CPallini13-Mar-07 2:01
mveCPallini13-Mar-07 2:01 
Question[Message Deleted] Pin
devvvy12-Mar-07 22:14
devvvy12-Mar-07 22:14 
AnswerRe: CString LPCTSTR Pin
CPallini12-Mar-07 22:20
mveCPallini12-Mar-07 22:20 
AnswerRe: CString LPCTSTR Pin
Cedric Moonen12-Mar-07 22:20
Cedric Moonen12-Mar-07 22:20 
QuestionRe: CString LPCTSTR Pin
Rajesh R Subramanian12-Mar-07 22:22
professionalRajesh R Subramanian12-Mar-07 22:22 
GeneralRe: CString LPCTSTR Pin
devvvy12-Mar-07 23:09
devvvy12-Mar-07 23:09 
GeneralRe: CString LPCTSTR Pin
CPallini13-Mar-07 4:33
mveCPallini13-Mar-07 4:33 
AnswerRe: [Message Deleted] Pin
toxcct13-Mar-07 0:26
toxcct13-Mar-07 0:26 
JokeRe: [Message Deleted] Pin
Rajesh R Subramanian13-Mar-07 0:45
professionalRajesh R Subramanian13-Mar-07 0:45 
GeneralRe: [Message Deleted] Pin
Hamid_RT13-Mar-07 2:14
Hamid_RT13-Mar-07 2:14 
Questionhow to call a function from a different class? Pin
sowhat_8212-Mar-07 22:00
sowhat_8212-Mar-07 22:00 
AnswerRe: how to call a function from a different class? Pin
Hamid_RT12-Mar-07 22:08
Hamid_RT12-Mar-07 22:08 

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.