Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing tool Pin
Haakon S.6-Jun-02 18:54
Haakon S.6-Jun-02 18:54 
GeneralRe: Drawing tool Pin
Paul M Watt6-Jun-02 19:45
mentorPaul M Watt6-Jun-02 19:45 
QuestionRelease mode TRACE? Pin
clintsinger6-Jun-02 10:16
clintsinger6-Jun-02 10:16 
AnswerRe: Release mode TRACE? Pin
John M. Drescher6-Jun-02 10:15
John M. Drescher6-Jun-02 10:15 
GeneralRe: Release mode TRACE? Pin
clintsinger6-Jun-02 10:26
clintsinger6-Jun-02 10:26 
AnswerRe: Release mode TRACE? Pin
PJ Arends6-Jun-02 19:18
professionalPJ Arends6-Jun-02 19:18 
Questioncustom control - how can you get mouse messages? Pin
Cathy6-Jun-02 9:29
Cathy6-Jun-02 9:29 
AnswerRe: custom control - how can you get mouse messages? Pin
Daniel Ferguson6-Jun-02 11:51
Daniel Ferguson6-Jun-02 11:51 
Have you subclassed a static control to make your custom control? If so, then the following code (I copied it out of MSDN) may help:

DWORD dwStyle = ::SetWindowLong(m_hWnd, GWL_STYLE);
if (!(dwStyle & SS_NOTIFY)) {
    // Turn on notify flag to get mouse messages and STN_CLICKED.
    // Otherwise, I'll never get any mouse clicks!
    ::SetWindowLong(m_hWnd, GWL_STYLE, dwStyle | SS_NOTIFY);
}



"The laws of nature, the laws of man
This volatile paradox will never stand"
-Plasticity, Front Line Assembly

GeneralRe: custom control - how can you get mouse messages? Pin
Cathy6-Jun-02 11:59
Cathy6-Jun-02 11:59 
GeneralRe: custom control - how can you get mouse messages? Pin
Daniel Ferguson6-Jun-02 15:10
Daniel Ferguson6-Jun-02 15:10 
GeneralRe: custom control - how can you get mouse messages? Pin
Cathy6-Jun-02 19:56
Cathy6-Jun-02 19:56 
AnswerRe: custom control - how can you get mouse messages? Pin
aldeba8-Jun-02 21:55
aldeba8-Jun-02 21:55 
GeneralRe: custom control - how can you get mouse messages? Pin
Cathy9-Jun-02 6:35
Cathy9-Jun-02 6:35 
GeneralMultimap Error Pin
Sidney6-Jun-02 9:11
Sidney6-Jun-02 9:11 
GeneralRe: Multimap Error Pin
Joaquín M López Muñoz6-Jun-02 9:18
Joaquín M López Muñoz6-Jun-02 9:18 
GeneralRe: Multimap Error Pin
Sidney6-Jun-02 11:08
Sidney6-Jun-02 11:08 
GeneralRe: Multimap Error Pin
Christian Graus6-Jun-02 11:38
protectorChristian Graus6-Jun-02 11:38 
GeneralRe: Multimap Error Pin
Sidney6-Jun-02 12:18
Sidney6-Jun-02 12:18 
GeneralRe: Multimap Error Pin
Christian Graus6-Jun-02 12:48
protectorChristian Graus6-Jun-02 12:48 
GeneralRe: Multimap Error Pin
Sidney6-Jun-02 13:11
Sidney6-Jun-02 13:11 
GeneralRemoveAll question Pin
6-Jun-02 8:57
suss6-Jun-02 8:57 
GeneralRe: RemoveAll question Pin
Chris Losinger6-Jun-02 9:09
professionalChris Losinger6-Jun-02 9:09 
Questionhow to do flicker-free drawing using memory DC Pin
lucy6-Jun-02 9:04
lucy6-Jun-02 9:04 
AnswerRe: how to do flicker-free drawing using memory DC Pin
Chris Losinger6-Jun-02 9:08
professionalChris Losinger6-Jun-02 9:08 
GeneralRe: how to do flicker-free drawing using memory DC Pin
lucy6-Jun-02 9:19
lucy6-Jun-02 9:19 

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.