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

C / C++ / MFC

 
GeneralRe: How to get an app disabled (keyboard and mouse evt's) while using a created sub-process? Pin
Joan M19-Jan-01 7:13
professionalJoan M19-Jan-01 7:13 
AnswerRe: How to get an app disabled (keyboard and mouse evt's) while using a created sub-process? Pin
David Fedolfi19-Jan-01 8:04
David Fedolfi19-Jan-01 8:04 
QuestionHow to skin a window application? Pin
Tom K17-Jan-01 21:44
Tom K17-Jan-01 21:44 
AnswerRe: How to skin a window application? Pin
17-Jan-01 22:54
suss17-Jan-01 22:54 
AnswerRe: How to skin a window application? Pin
17-Jan-01 22:57
suss17-Jan-01 22:57 
AnswerRe: How to skin a window application? Pin
Erik Funkenbusch18-Jan-01 10:55
Erik Funkenbusch18-Jan-01 10:55 
AnswerRe: How to skin a window application? Pin
18-Jan-01 11:55
suss18-Jan-01 11:55 
GeneralRe: How to skin a window application? Pin
.::RockNix::.18-Jan-01 21:35
.::RockNix::.18-Jan-01 21:35 
Well, if I understood right you want to put a bitmap over a button to get a custom designed button.

I tried a lot of things putting maps over a standard-button. The results were all very slow - especially after fast mouse-events.

And heres the way I finally made it and the result is of very high speed - even during fast mouse-events:

1) creating all the bitmaps you need for one button ( can be more then two )

2) put the maps as need to display and store x/y

3) check x/y after WM_LBUTTONDOWN / WM_LBUTTONUP (->wParam)

4) put a different map to display if button x/y matched

There is another important point :

you can use 4 different maps for one button if you also check out for MK_LBUTTON after WM_...

- on ( maybe with LED on )
- on/down ( maybe with LED on )
- off
- off/down

Greatings Mario///



--------------------
www.klangwerker.de
rocknix@lycos.de
--------------------
Questionfriend keyword query? Pin
17-Jan-01 18:21
suss17-Jan-01 18:21 
AnswerRe: friend keyword query? Pin
Michael Dunn17-Jan-01 20:41
sitebuilderMichael Dunn17-Jan-01 20:41 
QuestionHow to write a custom event sink map? Pin
Brendan Tregear17-Jan-01 17:41
Brendan Tregear17-Jan-01 17:41 
AnswerRe: How to write a custom event sink map? Pin
Franky Braem17-Jan-01 20:44
Franky Braem17-Jan-01 20:44 
AnswerRe: How to write a custom event sink map? Pin
Manjunath N.A18-Jan-01 6:35
Manjunath N.A18-Jan-01 6:35 
QuestionHow would an Expert to this? Pin
Scott!17-Jan-01 17:41
Scott!17-Jan-01 17:41 
GeneralNeed help with delete class cleanup. Alternatively ... Pin
Tadeusz Westawic17-Jan-01 13:57
Tadeusz Westawic17-Jan-01 13:57 
GeneralRe: Need help with delete class cleanup. Alternatively ... Pin
Christian Graus17-Jan-01 14:28
protectorChristian Graus17-Jan-01 14:28 
GeneralRe: Need help with delete class cleanup. Alternatively ... Pin
Michael Dunn17-Jan-01 15:40
sitebuilderMichael Dunn17-Jan-01 15:40 
GeneralRe: Need help with delete class cleanup. Alternatively ... Pin
Tadeusz Westawic18-Jan-01 6:17
Tadeusz Westawic18-Jan-01 6:17 
GeneralRe: Need help with delete class cleanup. Alternatively ... Pin
Erik Funkenbusch18-Jan-01 11:01
Erik Funkenbusch18-Jan-01 11:01 
QuestionReseting App...? Pin
17-Jan-01 10:20
suss17-Jan-01 10:20 
QuestionReseting App...? Pin
17-Jan-01 10:20
suss17-Jan-01 10:20 
AnswerRe: Reseting App...? Pin
Christian Graus17-Jan-01 12:35
protectorChristian Graus17-Jan-01 12:35 
GeneralIPicture & ADO Pin
Igor Tkachev17-Jan-01 7:04
Igor Tkachev17-Jan-01 7:04 
GeneralNeed a litle help Pin
17-Jan-01 6:22
suss17-Jan-01 6:22 
GeneralRe: Need a litle help Pin
David Fedolfi17-Jan-01 7:11
David Fedolfi17-Jan-01 7:11 

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.