Click here to Skip to main content
15,905,144 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linked list, passing a pointer Pin
S. Senthil Kumar31-Jul-05 4:20
S. Senthil Kumar31-Jul-05 4:20 
QuestionHow to manipulate ActiveDesktop buttons Pin
programvinod30-Jul-05 14:04
programvinod30-Jul-05 14:04 
GeneralDisabling Alt-Tab using RegsterHotkey for Windows 98 Pin
JP Manalo30-Jul-05 7:46
JP Manalo30-Jul-05 7:46 
GeneralRe: Disabling Alt-Tab using RegsterHotkey for Windows 98 Pin
Michael Dunn30-Jul-05 12:35
sitebuilderMichael Dunn30-Jul-05 12:35 
GeneralRe: Disabling Alt-Tab using RegsterHotkey for Windows 98 Pin
vishalmore30-Jul-05 23:01
vishalmore30-Jul-05 23:01 
GeneralControl Notification Messages be sent to a non-parent.. Pin
Maverick30-Jul-05 7:37
Maverick30-Jul-05 7:37 
GeneralWhy is a CButton disabled on CDialogBar Pin
laiju30-Jul-05 7:34
laiju30-Jul-05 7:34 
GeneralRe: Why is a CButton disabled on CDialogBar Pin
Maverick30-Jul-05 7:48
Maverick30-Jul-05 7:48 
Hello. I have the same problem also.. Although I haven't tried it yet, this is the info i got on a website.. hope this helps...



INFO: CDialogBar Button Enabled When Command Handler Present
View products that this article applies to.
Article ID : 98198
Last Review : December 11, 2003
Revision : 1.0
This article was previously published under Q98198
A button in a CDialogBar object is disabled automatically if the command routing does not contain a command handler function for the button.

To enable a button in a CDialogBar object, the command routing must include a command handler for the button. A button command handler can be an ON_BN_CLICKED(), ON_COMMAND(), or ON_COMMAND_UI() message handler and it must appear in the message map of an object in the command routing. If the parent of the CDialogBar object is a CFrameWnd object, then the command is handled by the active child window or view, by the document attached to the view, by the frame window, and by the application (CWinApp object).

NOTE: Because the CDialogBar object is not included in the routing scheme, the ON_BN_CLICKED() or ON_COMMAND() handler must be placed in one of the objects mentioned above that is in the routing scheme and not in the CDialogBar class.

For more information on command routing, see the "Command Routing" section in Chapter 3 of the "Class Library Reference" manual. In Visual C++ 32-bit Edition, version 4.0, see both the "Command Routing" topic of the "Programming with MFC: Overview" in the Books Online and the MFC Technical Note 31, Control Bars.
--------------------------------------------------------------------------------

http://www.kbalertz.com/kb_98198.aspx[^]
GeneralDisable the horizontal scroll bar in list Pin
laiju30-Jul-05 6:45
laiju30-Jul-05 6:45 
GeneralHKEY to string Pin
Chintoo72330-Jul-05 3:47
Chintoo72330-Jul-05 3:47 
GeneralObtaining an Application's Folder Pin
rbrunton30-Jul-05 2:33
rbrunton30-Jul-05 2:33 
GeneralRe: Obtaining an Application's Folder Pin
Scozturk30-Jul-05 3:06
professionalScozturk30-Jul-05 3:06 
GeneralRe: Obtaining an Application's Folder Pin
Jack Puppy30-Jul-05 3:46
Jack Puppy30-Jul-05 3:46 
GeneralRe: Obtaining an Application's Folder Pin
ThatsAlok30-Jul-05 3:51
ThatsAlok30-Jul-05 3:51 
GeneralRe: Obtaining an Application's Folder Pin
rbrunton30-Jul-05 10:42
rbrunton30-Jul-05 10:42 
GeneralDisk devices count and NIC card count Pin
pradeepchinnasamy30-Jul-05 2:20
pradeepchinnasamy30-Jul-05 2:20 
GeneralGDI+ Image clone Pin
Hesham Desouky30-Jul-05 1:52
Hesham Desouky30-Jul-05 1:52 
GeneralListView background item color and .exe.manifest file Pin
int01h30-Jul-05 1:28
int01h30-Jul-05 1:28 
GeneralSource Control (SCC) Icons on VC++ 6.0 Pin
Axter30-Jul-05 1:26
professionalAxter30-Jul-05 1:26 
Generalplease help me Pin
sebinfrancis30-Jul-05 1:00
sebinfrancis30-Jul-05 1:00 
GeneralRe: please help me Pin
toxcct30-Jul-05 3:26
toxcct30-Jul-05 3:26 
GeneralReliable date and time of Windows startup Pin
johannks30-Jul-05 0:11
johannks30-Jul-05 0:11 
GeneralRe: Reliable date and time of Windows startup Pin
Garth J Lancaster30-Jul-05 1:39
professionalGarth J Lancaster30-Jul-05 1:39 
GeneralReply # 2 Pin
Garth J Lancaster30-Jul-05 1:50
professionalGarth J Lancaster30-Jul-05 1:50 
GeneralRe: Reliable date and time of Windows startup Pin
pradeepchinnasamy30-Jul-05 2:09
pradeepchinnasamy30-Jul-05 2:09 

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.