Click here to Skip to main content
16,012,468 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Enumerating devices Pin
7-Feb-02 4:25
suss7-Feb-02 4:25 
GeneralRe: Enumerating devices Pin
Joe Moldovan7-Feb-02 9:35
Joe Moldovan7-Feb-02 9:35 
GeneralSerialization, but not using MFC Pin
5-Feb-02 23:33
suss5-Feb-02 23:33 
GeneralRe: Serialization, but not using MFC Pin
Christian Graus6-Feb-02 0:19
protectorChristian Graus6-Feb-02 0:19 
GeneralDynamically adding to toolbar Pin
5-Feb-02 23:27
suss5-Feb-02 23:27 
GeneralRe: Dynamically adding to toolbar Pin
56789012346-Feb-02 0:38
56789012346-Feb-02 0:38 
GeneralRe: Dynamically adding to toolbar Pin
Mazdak6-Feb-02 0:45
Mazdak6-Feb-02 0:45 
GeneralRe: Dynamically adding to toolbar Pin
6-Feb-02 0:51
suss6-Feb-02 0:51 
Thanks for the replies guys. Maybe I didnt make it very clear in the original posting... but I have, say an array of max 256 buttons... and all of these are handled as such

OnCommand(...)
{
if (wParam >= ID_TOOLBAR_BTN_START && wParam <= ID_TOOLBAR_BTN_STOP)
{
DoSomething(wParam - ID_TOOLBAR_BTN_START);
}

OnCommand(...)
}

I dont think it'd be very good to add so many handlers to the window. My question is, is there any way to disable MFC's default behavior of disabling buttons if there is no handler. If someone could help me out, i'd be very very grateful.

thanks,
Jojo!
GeneralRe: Dynamically adding to toolbar Pin
Mazdak6-Feb-02 2:02
Mazdak6-Feb-02 2:02 
GeneralRe: Dynamically adding to toolbar Pin
Fredrik Skog6-Feb-02 3:34
Fredrik Skog6-Feb-02 3:34 
GeneralRe: Dynamically adding to toolbar Pin
6-Feb-02 4:05
suss6-Feb-02 4:05 
QuestionHow to Add HoTkey to My Tray Application Pin
5-Feb-02 23:12
suss5-Feb-02 23:12 
AnswerRe: How to Add HoTkey to My Tray Application Pin
Rickard Andersson206-Feb-02 0:43
Rickard Andersson206-Feb-02 0:43 
GeneralRe: How to Add HoTkey to My Tray Application Pin
Jon Hulatt6-Feb-02 0:54
Jon Hulatt6-Feb-02 0:54 
GeneralEncrypting (try just once againg.... just once) Pin
Rickard Andersson205-Feb-02 22:33
Rickard Andersson205-Feb-02 22:33 
GeneralRe: Encrypting (try just once againg.... just once) Pin
Andreas Saurwein6-Feb-02 0:35
Andreas Saurwein6-Feb-02 0:35 
GeneralRe: Encrypting (try just once againg.... just once) Pin
Rickard Andersson206-Feb-02 0:40
Rickard Andersson206-Feb-02 0:40 
GeneralRe: Encrypting ...(Hackers do not see this) Pin
Mazdak6-Feb-02 1:30
Mazdak6-Feb-02 1:30 
GeneralMany big problems... Pin
SAV5-Feb-02 22:00
SAV5-Feb-02 22:00 
GeneralRe: Many big problems... Pin
Andreas Saurwein6-Feb-02 0:44
Andreas Saurwein6-Feb-02 0:44 
QuestionHuge .bss section in DLL - why? Pin
peterchen5-Feb-02 21:39
peterchen5-Feb-02 21:39 
GeneralHandling Events with Webbrowser2 Control Pin
John Clump5-Feb-02 20:42
John Clump5-Feb-02 20:42 
GeneralRe: Handling Events with Webbrowser2 Control Pin
alex.barylski6-Feb-02 0:19
alex.barylski6-Feb-02 0:19 
GeneralAbout Exception in VC++ Pin
wabc5-Feb-02 20:29
wabc5-Feb-02 20:29 
GeneralRe: About Exception in VC++ Pin
Christian Graus5-Feb-02 20:40
protectorChristian Graus5-Feb-02 20:40 

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.