Click here to Skip to main content
15,918,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: A question about Cursor??? Pin
Derek Waters25-Nov-01 11:39
Derek Waters25-Nov-01 11:39 
I wouldn't use MAKEINTRESOURCE, guys. Whilst a HCURSOR is a void *, that's not what MAKEINTRESOURCE is for. The resource management functions in Win32 take in an LPTSTR (a string). This string is the resource "name". The documentation for Win32 shows that this LPTSTR can be an actual pointer to a string name for the resource ("My New Resource"), OR, if the value of the LPTSTR only uses the lower 16 bits (ie it's a DWORD) the value represents the resource ID (IDR_MY_NEW_RESOURCE = 16000).

So, after all that the basic answer is, I don't think you can determine the resource ID from the current cursor (after all, it might be created from a resource located in a DLL, another EXE, or the system somewhere).


------------------------
Derek Waters
derek@lj-oz.com
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 
GeneralRe: XAudio SDK... Pin
Christian Graus23-Nov-01 22:39
protectorChristian Graus23-Nov-01 22: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.