Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Don't EVER use the registry! Please Pin
Jörgen Sigvardsson28-Oct-03 10:36
Jörgen Sigvardsson28-Oct-03 10:36 
GeneralRe: Don't EVER use the registry! Please Pin
Anonymous27-Oct-03 11:22
Anonymous27-Oct-03 11:22 
GeneralRe: Don't EVER use the registry! Please Pin
thowra27-Oct-03 23:07
thowra27-Oct-03 23:07 
GeneralRe: Don't EVER use the registry! Please Pin
wogerdoger1-Nov-03 6:22
wogerdoger1-Nov-03 6:22 
GeneralCToolBar and different width buttons Pin
AJ12327-Oct-03 6:15
AJ12327-Oct-03 6:15 
GeneralRe: CToolBar and different width buttons Pin
Michael Dunn27-Oct-03 7:36
sitebuilderMichael Dunn27-Oct-03 7:36 
Generalsuclassing button at runtime Pin
CHAIGNEAU27-Oct-03 5:42
CHAIGNEAU27-Oct-03 5:42 
GeneralRe: suclassing button at runtime Pin
alex.barylski27-Oct-03 7:16
alex.barylski27-Oct-03 7:16 
Why are you doing this? Are your buttons dynamically created or placed there with dialog editor?

CHAIGNEAU wrote:
I've tryed with FindWindowEx with "Button" in the class parameter but it doesn't work.

Maybe it's case sensitive try BUTTON Smile | :)

If you just have buttons, you could enumerate each window and change it's WndProc as you go.

If your buttons are all within a particular range of COMMAND id's you could also iterate each button control using GetDlgItem()

HTH

Cheers Smile | :)

I'm drinking triples, seeing double and acting single Cool | :cool:
GeneralRe: suclassing button at runtime Pin
CHAIGNEAU27-Oct-03 8:06
CHAIGNEAU27-Oct-03 8:06 
GeneralRe: suclassing button at runtime Pin
alex.barylski27-Oct-03 8:41
alex.barylski27-Oct-03 8:41 
GeneralRe: suclassing button at runtime Pin
CHAIGNEAU27-Oct-03 10:09
CHAIGNEAU27-Oct-03 10:09 
GeneralRe: suclassing button at runtime Pin
David Crow27-Oct-03 9:24
David Crow27-Oct-03 9:24 
GeneralRe: suclassing button at runtime Pin
CHAIGNEAU27-Oct-03 9:53
CHAIGNEAU27-Oct-03 9:53 
GeneralRe: suclassing button at runtime Pin
David Crow27-Oct-03 9:57
David Crow27-Oct-03 9:57 
GeneralRe: suclassing button at runtime Pin
CHAIGNEAU27-Oct-03 10:06
CHAIGNEAU27-Oct-03 10:06 
GeneralRe: suclassing button at runtime Pin
David Crow27-Oct-03 10:16
David Crow27-Oct-03 10:16 
GeneralRe: suclassing button at runtime Pin
CHAIGNEAU27-Oct-03 10:43
CHAIGNEAU27-Oct-03 10:43 
GeneralRe: suclassing button at runtime Pin
alex.barylski27-Oct-03 11:33
alex.barylski27-Oct-03 11:33 
GeneralRe: suclassing button at runtime Pin
David Crow27-Oct-03 13:00
David Crow27-Oct-03 13:00 
Generaldialog, dialogbar, or toolbar Pin
MJohn1029627-Oct-03 5:36
MJohn1029627-Oct-03 5:36 
Generalembedded mysql server Pin
niklo27-Oct-03 5:17
niklo27-Oct-03 5:17 
GeneralRe: embedded mysql server Pin
alex.barylski27-Oct-03 7:09
alex.barylski27-Oct-03 7:09 
GeneralRe: embedded mysql server Pin
niklo27-Oct-03 20:47
niklo27-Oct-03 20:47 
Generalproblem in file scanning Pin
karteek27-Oct-03 4:07
karteek27-Oct-03 4:07 
GeneralRe: problem in file scanning Pin
David Crow27-Oct-03 4:13
David Crow27-Oct-03 4:13 

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.