Click here to Skip to main content
16,010,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Humm... Pin
Masaaki Onishi24-Nov-01 9:02
Masaaki Onishi24-Nov-01 9:02 
GeneralTwo difficult ADO questions Pin
ssteo23-Nov-01 23:16
ssteo23-Nov-01 23:16 
QuestionCan not delete file: file system error (1026) - Help me please! Pin
Huu Quynh23-Nov-01 22:10
Huu Quynh23-Nov-01 22:10 
AnswerRe: Can not delete file: file system error (1026) - Help me please! Pin
Nish Nishant23-Nov-01 22:30
sitebuilderNish Nishant23-Nov-01 22:30 
GeneralRe: Can not delete file: file system error (1026) - Help me please! Pin
Huu Quynh23-Nov-01 23:25
Huu Quynh23-Nov-01 23:25 
GeneralRe: Can not delete file: file system error (1026) - Help me please! Pin
Nish Nishant23-Nov-01 23:52
sitebuilderNish Nishant23-Nov-01 23:52 
QuestionA question about Cursor??? Pin
Leesen23-Nov-01 21:58
Leesen23-Nov-01 21:58 
AnswerRe: A question about Cursor??? Pin
Nish Nishant23-Nov-01 22:15
sitebuilderNish Nishant23-Nov-01 22:15 
GetCursor() will return the handle to the current cursor.
That should do, huh?
Why do you want the resource id?
Anyway, try using MAKEINTRESOURCE on the HCURSOR. I don't know if it will work. An HCURSOR is basically a HANDLE which is actually a void*. A void* is actually 32 bits.Thus an HCURSOR is a 32 bit number. MAKEINTRESOURCE takes a WORD as parameter and a WORD is only 16 bits. So initially I thought this would be a problem. But MAKEINTRESOURCE is defined as shown below :-
#define MAKEINTRESOURCE(i) (LPTSTR) ((DWORD) ((WORD) (i)))

As you can see the first cast is to a DWORD.
So I hope it will be okay.

But then, I might be wrong.

Regards
Nish

Sonork ID 100.9786 voidmain

www.busterboy.org

Nish is a BIG fan of Goran Ivanisevic
GeneralRe: A question about Cursor??? Pin
Derek Waters25-Nov-01 11:39
Derek Waters25-Nov-01 11:39 
GeneralHELP Pin
23-Nov-01 21:14
suss23-Nov-01 21:14 
GeneralRe: HELP Pin
Nish Nishant23-Nov-01 21:22
sitebuilderNish Nishant23-Nov-01 21:22 
GeneralRe: HELP Pin
23-Nov-01 21:45
suss23-Nov-01 21:45 
GeneralRe: HELP Pin
Nish Nishant23-Nov-01 22:00
sitebuilderNish Nishant23-Nov-01 22:00 
GeneralRe: HELP Pin
23-Nov-01 22:32
suss23-Nov-01 22:32 
GeneralCommunication with other apps! Pin
Ashman23-Nov-01 20:57
Ashman23-Nov-01 20:57 
GeneralRe: Communication with other apps! Pin
Nish Nishant23-Nov-01 21:13
sitebuilderNish Nishant23-Nov-01 21:13 
GeneralRichEdit member variable woes Pin
Xavier Shay23-Nov-01 18:14
Xavier Shay23-Nov-01 18:14 
GeneralRe: RichEdit member variable woes Pin
Michael Dunn23-Nov-01 20:22
sitebuilderMichael Dunn23-Nov-01 20:22 
GeneralBrowse Direcrtory Pin
meirav23-Nov-01 9:30
meirav23-Nov-01 9:30 
GeneralRe: Browse Direcrtory Pin
Joaquín M López Muñoz23-Nov-01 9:55
Joaquín M López Muñoz23-Nov-01 9:55 
Questionhow do i change the background of a control? Pin
23-Nov-01 9:27
suss23-Nov-01 9:27 
AnswerRe: how do i change the background of a control? Pin
Joaquín M López Muñoz23-Nov-01 9:42
Joaquín M López Muñoz23-Nov-01 9:42 
GeneralQuestions about CRichEditCtrl Pin
squizz23-Nov-01 7:47
squizz23-Nov-01 7:47 
GeneralRe: Questions about CRichEditCtrl Pin
Bill Wilson23-Nov-01 10:09
Bill Wilson23-Nov-01 10:09 
GeneralXAudio SDK... Pin
Joshua Guy23-Nov-01 6:39
Joshua Guy23-Nov-01 6:39 

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.