Click here to Skip to main content
16,006,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help!! Calling 1 DLL from another Pin
Jim Crafton21-Oct-04 8:28
Jim Crafton21-Oct-04 8:28 
QuestionHow do I reclaim this memory? Pin
LynnJ20-Oct-04 6:48
LynnJ20-Oct-04 6:48 
AnswerRe: How do I reclaim this memory? Pin
Maximilien20-Oct-04 6:55
Maximilien20-Oct-04 6:55 
GeneralRe: How do I reclaim this memory? Pin
LynnJ20-Oct-04 7:16
LynnJ20-Oct-04 7:16 
GeneralRe: How do I reclaim this memory? Pin
Joaquín M López Muñoz20-Oct-04 9:23
Joaquín M López Muñoz20-Oct-04 9:23 
GeneralRe: How do I reclaim this memory? Pin
David Crow20-Oct-04 10:06
David Crow20-Oct-04 10:06 
QuestionHow do I set the cursor of an HWND? Pin
KellyR20-Oct-04 4:54
KellyR20-Oct-04 4:54 
AnswerRe: How do I set the cursor of an HWND? Pin
Jim Crafton20-Oct-04 8:04
Jim Crafton20-Oct-04 8:04 
To reliably set the cursor of window without cursor flicker, you need to have a NULL cursor specified for the window style. Then you need to handle WM_MOUSEMOVE messages and then properly set the cursor using SetCursor() (see this API call in MSDN).
If you really need to do this you can always subclass the BUTTON window class and then add you own behaviour to it. If you are using MFC then you can derive a new class from CButton (or whatever it's called), and add a mouse move handler and override the CWnd::PreCreateWindow() function.


¡El diablo está en mis pantalones! ¡Mire, mire!

Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!

SELECT * FROM User WHERE Clue > 0
0 rows returned

GeneralRe: How do I set the cursor of an HWND? Pin
Michael Dunn20-Oct-04 9:10
sitebuilderMichael Dunn20-Oct-04 9:10 
GeneralRe: How do I set the cursor of an HWND? Pin
Jim Crafton20-Oct-04 14:56
Jim Crafton20-Oct-04 14:56 
GeneralRe: How do I set the cursor of an HWND? Pin
Michael Dunn21-Oct-04 3:22
sitebuilderMichael Dunn21-Oct-04 3:22 
GeneralRe: How do I set the cursor of an HWND? Pin
KellyR20-Oct-04 11:07
KellyR20-Oct-04 11:07 
GeneralDisplay html page on a dialog Pin
includeh1020-Oct-04 4:39
includeh1020-Oct-04 4:39 
GeneralRe: Display html page on a dialog Pin
Maximilien20-Oct-04 4:44
Maximilien20-Oct-04 4:44 
GeneralRe: Display html page on a dialog Pin
includeh1020-Oct-04 5:17
includeh1020-Oct-04 5:17 
GeneralTo make a different "button control" Pin
illidan9920-Oct-04 4:04
illidan9920-Oct-04 4:04 
GeneralRe: To make a different "button control" Pin
KellyR20-Oct-04 4:58
KellyR20-Oct-04 4:58 
GeneralRe: To make a different "button control" Pin
Maximilien20-Oct-04 6:15
Maximilien20-Oct-04 6:15 
GeneralRe: To make a different "button control" Pin
illidan9920-Oct-04 13:12
illidan9920-Oct-04 13:12 
GeneralError: Uresolved external ... LoadString(... Pin
Vladimir Dubovoy20-Oct-04 3:51
Vladimir Dubovoy20-Oct-04 3:51 
GeneralMilliseconds and SystemTimeToVariantTime Pin
Federico Milano20-Oct-04 3:46
Federico Milano20-Oct-04 3:46 
GeneralRe: Milliseconds and SystemTimeToVariantTime Pin
David Crow20-Oct-04 4:41
David Crow20-Oct-04 4:41 
GeneralHTTP status code of a web address Pin
si_6920-Oct-04 3:45
si_6920-Oct-04 3:45 
GeneralRe: HTTP status code of a web address Pin
si_6920-Oct-04 5:16
si_6920-Oct-04 5:16 
GeneralPriority queue in MFC Pin
SimpleProgramer20-Oct-04 3:06
SimpleProgramer20-Oct-04 3:06 

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.