Click here to Skip to main content
16,004,761 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get 'IRowsetFind' interface in oledb sdk ! Pin
Member 74634419-Apr-04 18:45
Member 74634419-Apr-04 18:45 
GeneralGDI question Pin
Anonymous19-Apr-04 17:54
Anonymous19-Apr-04 17:54 
GeneralRe: GDI question Pin
Christian Graus19-Apr-04 18:03
protectorChristian Graus19-Apr-04 18:03 
GeneralMouse over Pin
Timothy Grabrian19-Apr-04 17:52
professionalTimothy Grabrian19-Apr-04 17:52 
GeneralRe: Mouse over Pin
Balkrishna Talele19-Apr-04 18:42
Balkrishna Talele19-Apr-04 18:42 
GeneralRe: Mouse over Pin
Timothy Grabrian19-Apr-04 18:45
professionalTimothy Grabrian19-Apr-04 18:45 
GeneralRe: Mouse over Pin
Balkrishna Talele19-Apr-04 19:10
Balkrishna Talele19-Apr-04 19:10 
GeneralRe: Mouse over Pin
PJ Arends19-Apr-04 19:12
professionalPJ Arends19-Apr-04 19:12 
You do not need MFC to subclass button controls. You write your button's window procedure and use SetWindowLong() with the GWL_WNDPROC index to subclass the button.
LRESULT CALLBACK MyButtonWindowProc(HWND hWnd, UINT nMsg, WPARAM wp, LPARAM lp)
{
    switch (nMsg)
    {
    case WM_MOUSEMOVE:
        // Handle WM_MOUSEMOVE on button
    default:
        return DefWindowProc(hWnd, nMsg, wp, lp);
    }
    return 0;
}

// And in your window procedure
    SetWindowLong(ButtonHwnd, GWL_WNDPROC, (LONG)MyButtonWindowProc);








Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: Mouse over Pin
Ravi Bhavnani20-Apr-04 3:32
professionalRavi Bhavnani20-Apr-04 3:32 
GeneralAutomating Programs in Windows Pin
Iceberg7619-Apr-04 17:00
Iceberg7619-Apr-04 17:00 
GeneralRe: Automating Programs in Windows Pin
22491719-Apr-04 18:38
22491719-Apr-04 18:38 
GeneralRe: Automating Programs in Windows Pin
jmkhael19-Apr-04 22:02
jmkhael19-Apr-04 22:02 
Questionmd5 encryptor for executables? Pin
Ryan McDermott19-Apr-04 12:38
Ryan McDermott19-Apr-04 12:38 
AnswerRe: md5 encryptor for executables? Pin
Robert A. T. Káldy19-Apr-04 21:41
Robert A. T. Káldy19-Apr-04 21:41 
QuestionVC6 pre-compile step? Pin
Ravi Bhavnani19-Apr-04 12:20
professionalRavi Bhavnani19-Apr-04 12:20 
AnswerRe: VC6 pre-compile step? Pin
Robert A. T. Káldy19-Apr-04 21:55
Robert A. T. Káldy19-Apr-04 21:55 
GeneralRe: VC6 pre-compile step? Pin
Ravi Bhavnani20-Apr-04 7:16
professionalRavi Bhavnani20-Apr-04 7:16 
GeneralRe: VC6 pre-compile step? Pin
Robert A. T. Káldy20-Apr-04 8:11
Robert A. T. Káldy20-Apr-04 8:11 
GeneralRe: VC6 pre-compile step? Pin
Steve S20-Apr-04 22:05
Steve S20-Apr-04 22:05 
Generalstraight up newbie to C++ Pin
SoulExistence19-Apr-04 11:54
SoulExistence19-Apr-04 11:54 
GeneralRe: straight up newbie to C++ Pin
Christian Graus19-Apr-04 12:03
protectorChristian Graus19-Apr-04 12:03 
GeneralRe: straight up newbie to C++ Pin
Christian Graus19-Apr-04 12:08
protectorChristian Graus19-Apr-04 12:08 
GeneralRe: straight up newbie to C++ Pin
SoulExistence20-Apr-04 6:31
SoulExistence20-Apr-04 6:31 
GeneralRe: straight up newbie to C++ Pin
Christian Graus20-Apr-04 10:47
protectorChristian Graus20-Apr-04 10:47 
GeneralBack Up You registry Programmatically Pin
HAHAHA_NEXT19-Apr-04 11:32
HAHAHA_NEXT19-Apr-04 11:32 

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.