Click here to Skip to main content
15,913,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: is multiple inheritance possible?? Pin
Maximilien16-Nov-04 4:31
Maximilien16-Nov-04 4:31 
Questionhow do i change the color of the frame of a picture control??? Pin
namaskaaram16-Nov-04 3:45
namaskaaram16-Nov-04 3:45 
Generalregarding mouse events..... Pin
namaskaaram16-Nov-04 3:43
namaskaaram16-Nov-04 3:43 
GeneralRe: regarding mouse events..... Pin
Blake Miller16-Nov-04 4:43
Blake Miller16-Nov-04 4:43 
GeneralRe: regarding mouse events..... Pin
namaskaaram16-Nov-04 17:52
namaskaaram16-Nov-04 17:52 
GeneralRe: regarding mouse events..... Pin
Blake Miller17-Nov-04 4:05
Blake Miller17-Nov-04 4:05 
GeneralRe: regarding mouse events..... Pin
namaskaaram17-Nov-04 18:50
namaskaaram17-Nov-04 18:50 
GeneralRe: regarding mouse events..... Pin
Blake Miller18-Nov-04 4:04
Blake Miller18-Nov-04 4:04 
It involves checking and possibly changing the HCURSOR field of the WNDCLASS associated with your CStatic window. However, in the context of MFC, this can get you into trouble really quick, since you would be changing it for EVERY CStatic in the program - and every window using the class registered (which cna be other types, knowing hwo MFC seems ot work...).

As a different approach, why don't you look at Chris' CHyperLink control on this website. Study his code, because, as I recall, it changes the cursor to a pointy hand when the mouse is over the window. Using his code as an exmaple, you should be able to see how to get the cursor changed in your window. I think his is even derived from CStatic.

http://www.codeproject.com/miscctrl/hyperlink.asp
GeneralCoTaskMemAlloc and BITMAPINFO Pin
dmxdmxdmx0516-Nov-04 3:39
dmxdmxdmx0516-Nov-04 3:39 
GeneralRe: CoTaskMemAlloc and BITMAPINFO Pin
Blake Miller16-Nov-04 4:49
Blake Miller16-Nov-04 4:49 
Generalusing non-English languages in visual c++.... Pin
shah170116-Nov-04 3:11
shah170116-Nov-04 3:11 
GeneralRe: want icons in subitems of listview, but not first column Pin
BlackDice16-Nov-04 2:51
BlackDice16-Nov-04 2:51 
QuestionHow do I... Pin
KORCARI16-Nov-04 2:10
KORCARI16-Nov-04 2:10 
AnswerRe: How do I... Pin
David Crow16-Nov-04 2:44
David Crow16-Nov-04 2:44 
QuestionHow to make Custom Explorer Bars to Internet Explorer? Pin
pubududilena16-Nov-04 1:38
pubududilena16-Nov-04 1:38 
AnswerRe: How to make Custom Explorer Bars to Internet Explorer? Pin
ThatsAlok16-Nov-04 2:34
ThatsAlok16-Nov-04 2:34 
QuestionHow to import both adoce31.dll & adoxce31.dll? Pin
george ivanov16-Nov-04 0:56
george ivanov16-Nov-04 0:56 
AnswerRe: How to import both adoce31.dll & adoxce31.dll? Pin
Antony M Kancidrowski16-Nov-04 1:47
Antony M Kancidrowski16-Nov-04 1:47 
AnswerRe: How to import both adoce31.dll & adoxce31.dll? Pin
RChin16-Nov-04 2:02
RChin16-Nov-04 2:02 
GeneralMDI CFormView and Dialog Templates Pin
navalgap16-Nov-04 0:10
navalgap16-Nov-04 0:10 
Questionhow do i put a bmp into an exe file??? Pin
namaskaaram15-Nov-04 23:58
namaskaaram15-Nov-04 23:58 
AnswerRe: how do i put a bmp into an exe file??? Pin
User 21559716-Nov-04 0:25
User 21559716-Nov-04 0:25 
GeneralRe: how do i put a bmp into an exe file??? Pin
namaskaaram16-Nov-04 0:53
namaskaaram16-Nov-04 0:53 
GeneralRe: how do i put a bmp into an exe file??? Pin
ThatsAlok16-Nov-04 2:37
ThatsAlok16-Nov-04 2:37 
GeneralRe: how do i put a bmp into an exe file???.....not the desired output!!!!! Pin
namaskaaram16-Nov-04 3:18
namaskaaram16-Nov-04 3:18 

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.