Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalvb program rune fine but the same gives error in VC++ Pin
Anonymous28-Oct-02 18:07
Anonymous28-Oct-02 18:07 
GeneralRe: vb program rune fine but the same gives error in VC++ Pin
Anonymous29-Oct-02 0:52
Anonymous29-Oct-02 0:52 
GeneralRe: vb program rune fine but the same gives error in VC++ Pin
Anonymous29-Oct-02 18:36
Anonymous29-Oct-02 18:36 
GeneralRe: vb program rune fine but the same gives error in VC++ Pin
Rickard Andersson2029-Oct-02 2:16
Rickard Andersson2029-Oct-02 2:16 
GeneralRe: vb program rune fine but the same gives error in VC++ Pin
Anonymous29-Oct-02 18:46
Anonymous29-Oct-02 18:46 
Generalcant find WM_SETFOCUS for .... Pin
devvvy28-Oct-02 17:30
devvvy28-Oct-02 17:30 
GeneralRe: cant find WM_SETFOCUS for .... Pin
Shog928-Oct-02 18:29
sitebuilderShog928-Oct-02 18:29 
GeneralThanks, but... Pin
devvvy28-Oct-02 19:18
devvvy28-Oct-02 19:18 
I've found it. I added two event handlers:

1. one for WM_SETFOCUS
2. one for WM_KILLFOCUS

My intention is that when my dialog application loses focus, the dialog will become more transparent. When the dialog gets focused, the dialog becomes more opaque.

But it seems that my dialog does not respond to the event WM_SETFOCUS and WM_KILLFOCUS for some reason. Are these two events for controls only? But from MSDN, it seems that these two messages are generic "windows" message. And a dialog is a window...?? And I dont want to use mouse leave event neither...

Thanks!


norm
GeneralRe: Thanks, but... Pin
Shog928-Oct-02 19:21
sitebuilderShog928-Oct-02 19:21 
GeneralRe: Thanks, but... Pin
devvvy28-Oct-02 19:24
devvvy28-Oct-02 19:24 
GeneralRe: Thanks, but... Pin
Shog928-Oct-02 19:29
sitebuilderShog928-Oct-02 19:29 
Generalyes, i've got it! Pin
devvvy28-Oct-02 19:31
devvvy28-Oct-02 19:31 
GeneralRe: Thanks, but... Pin
Maximilien29-Oct-02 2:22
Maximilien29-Oct-02 2:22 
Generaltaskbar Pin
devvvy28-Oct-02 17:13
devvvy28-Oct-02 17:13 
GeneralRe: taskbar Pin
Shog928-Oct-02 19:37
sitebuilderShog928-Oct-02 19:37 
Generaldraw on a button... Pin
devvvy28-Oct-02 15:34
devvvy28-Oct-02 15:34 
Generalpaint a bitmap on button... Pin
devvvy28-Oct-02 15:55
devvvy28-Oct-02 15:55 
GeneralRe: draw on a button... Pin
ian mariano29-Oct-02 1:43
ian mariano29-Oct-02 1:43 
Questionhow do u import a library? Pin
devvvy28-Oct-02 14:58
devvvy28-Oct-02 14:58 
AnswerRe: how do u import a library? Pin
Christian Graus28-Oct-02 15:16
protectorChristian Graus28-Oct-02 15:16 
GeneralRe: how do u import a library? Pin
devvvy28-Oct-02 15:24
devvvy28-Oct-02 15:24 
GeneralRe: how do u import a library? Pin
Christian Graus28-Oct-02 16:50
protectorChristian Graus28-Oct-02 16:50 
AnswerRe: how do u import a library? Pin
Paul M Watt28-Oct-02 16:15
mentorPaul M Watt28-Oct-02 16:15 
GeneralRe: how do u import a library? Pin
devvvy28-Oct-02 16:27
devvvy28-Oct-02 16:27 
GeneralRe: how do u import a library? Pin
devvvy28-Oct-02 16:53
devvvy28-Oct-02 16:53 

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.