Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to overrdide CHtmlView to specify the browser to be used Pin
Niklas L24-Aug-10 8:04
Niklas L24-Aug-10 8:04 
GeneralRe: How to overrdide CHtmlView to specify the browser to be used Pin
stevehoang24-Mar-11 11:25
stevehoang24-Mar-11 11:25 
QuestionHow can export data from CListCtrl to excel? Pin
Le@rner22-Aug-10 20:02
Le@rner22-Aug-10 20:02 
AnswerRe: How can export data from CListCtrl to excel? Pin
Richard MacCutchan22-Aug-10 21:28
mveRichard MacCutchan22-Aug-10 21:28 
AnswerRe: How can export data from CListCtrl to excel? Pin
Niklas L22-Aug-10 22:29
Niklas L22-Aug-10 22:29 
QuestionRe: How can export data from CListCtrl to excel? Pin
David Crow23-Aug-10 3:08
David Crow23-Aug-10 3:08 
AnswerRe: How can export data from CListCtrl to excel? Pin
KarstenK23-Aug-10 3:32
mveKarstenK23-Aug-10 3:32 
QuestionSetting Cursor in MDI Application Pin
Kyudos22-Aug-10 15:05
Kyudos22-Aug-10 15:05 
I have an MFC MDI application, with a view based on a dialog template. When the user clicks a button to start a certain operation, I want to change the cursor, then change it back again when the operation finishes.

If I process OnSetCursor in my main frame, this works nicely, except when the user is over a grid control in my view, where it switches back to the default. I've tried adding the same code to an OnSetCursor in the grid window code, but that doesn't help.

Is there no way to 'lock' a cursor change so that I have control over who or what can change it again? (I can't use SetCapture, it doesn't make sense).

The only other way I can think to get around this would be several awfully kludgey calls to SetSystemCursor to change the default system cursor, running the risk of changing the default system cursor by accident.

Also, if I use my own cursor it potentially won't match the current theme. Is there anyway to take the current cursor and overlay something on top (like a plus sign)? Something akin to icon overlays?
AnswerRe: Setting Cursor in MDI Application Pin
Luc Pattyn22-Aug-10 15:33
sitebuilderLuc Pattyn22-Aug-10 15:33 
GeneralRe: Setting Cursor in MDI Application Pin
Kyudos22-Aug-10 15:43
Kyudos22-Aug-10 15:43 
GeneralRe: Setting Cursor in MDI Application Pin
Luc Pattyn22-Aug-10 16:02
sitebuilderLuc Pattyn22-Aug-10 16:02 
GeneralRe: Setting Cursor in MDI Application Pin
Kyudos22-Aug-10 16:10
Kyudos22-Aug-10 16:10 
QuestionPayment gateway project ...... help Pin
gateway2322-Aug-10 10:38
gateway2322-Aug-10 10:38 
AnswerRe: Payment gateway project ...... help Pin
Richard MacCutchan22-Aug-10 11:43
mveRichard MacCutchan22-Aug-10 11:43 
AnswerRe: Payment gateway project ...... help Pin
AmbiguousName24-Aug-10 2:27
AmbiguousName24-Aug-10 2:27 
GeneralRe: Payment gateway project ...... help Pin
gateway2324-Aug-10 5:19
gateway2324-Aug-10 5:19 
GeneralRe: Payment gateway project ...... help Pin
ThatsAlok30-Jun-11 23:50
ThatsAlok30-Jun-11 23:50 
QuestionHow to write the binary data (byte) into a file Pin
Arthur Yeap22-Aug-10 7:08
Arthur Yeap22-Aug-10 7:08 
AnswerRe: How to write the binary data (byte) into a file Pin
Richard MacCutchan22-Aug-10 9:03
mveRichard MacCutchan22-Aug-10 9:03 
QuestionSharing standard output between different processes Pin
Danzy8322-Aug-10 2:05
Danzy8322-Aug-10 2:05 
Questioncompile main.c Pin
albertodiprima21-Aug-10 18:51
albertodiprima21-Aug-10 18:51 
AnswerRe: compile main.c Pin
Rick York21-Aug-10 19:23
mveRick York21-Aug-10 19:23 
AnswerRe: compile main.c Pin
Niklas L21-Aug-10 22:16
Niklas L21-Aug-10 22:16 
AnswerRe: compile main.c Pin
Luc Pattyn21-Aug-10 23:24
sitebuilderLuc Pattyn21-Aug-10 23:24 
GeneralRe: compile main.c Pin
Niklas L22-Aug-10 8:20
Niklas L22-Aug-10 8:20 

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.