Click here to Skip to main content
15,897,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionview problem Pin
sheetal_065-Mar-07 22:24
sheetal_065-Mar-07 22:24 
AnswerRe: view problem Pin
Cedric Moonen5-Mar-07 22:30
Cedric Moonen5-Mar-07 22:30 
Questionhow to find the character width? Pin
kotakmayurrMCA5-Mar-07 22:23
kotakmayurrMCA5-Mar-07 22:23 
AnswerRe: how to find the character width? Pin
PJ Arends5-Mar-07 22:38
professionalPJ Arends5-Mar-07 22:38 
QuestionHow to set the caption text in the page of sheet? Pin
dungpapai5-Mar-07 22:22
dungpapai5-Mar-07 22:22 
AnswerRe: How to set the caption text in the page of sheet? Pin
Xing Chen5-Mar-07 22:31
Xing Chen5-Mar-07 22:31 
AnswerRe: How to set the caption text in the page of sheet? Pin
_AnsHUMAN_ 5-Mar-07 22:56
_AnsHUMAN_ 5-Mar-07 22:56 
QuestionCR+LF in RichEdit20 Pin
jsumm5-Mar-07 22:04
jsumm5-Mar-07 22:04 
Questiondelete printer Icon from system tray Pin
sajithomas5-Mar-07 21:54
sajithomas5-Mar-07 21:54 
AnswerRe: delete printer Icon from system tray Pin
Xing Chen5-Mar-07 22:22
Xing Chen5-Mar-07 22:22 
Question[Win32 C] how save HICON to a icon file? Pin
HOW WHAT5-Mar-07 21:41
HOW WHAT5-Mar-07 21:41 
AnswerRe: [Win32 C] how save HICON to a icon file? Pin
Programm3r5-Mar-07 21:53
Programm3r5-Mar-07 21:53 
AnswerRe: [Win32 C] how save HICON to a icon file? Pin
prasad_som5-Mar-07 21:53
prasad_som5-Mar-07 21:53 
GeneralRe: [Win32 C] how save HICON to a icon file? Pin
HOW WHAT5-Mar-07 22:14
HOW WHAT5-Mar-07 22:14 
GeneralRe: [Win32 C] how save HICON to a icon file? Pin
prasad_som5-Mar-07 22:25
prasad_som5-Mar-07 22:25 
QuestionHow to change "Caption" of Menu Item Dynamcally? Pin
cshivaprasad5-Mar-07 21:39
cshivaprasad5-Mar-07 21:39 
AnswerRe: How to change "Caption" of Menu Item Dynamcally? Pin
prasad_som5-Mar-07 22:07
prasad_som5-Mar-07 22:07 
QuestionDLL Header file content Pin
Programm3r5-Mar-07 21:34
Programm3r5-Mar-07 21:34 
AnswerRe: DLL Header file content Pin
Cedric Moonen5-Mar-07 21:53
Cedric Moonen5-Mar-07 21:53 
GeneralRe: DLL Header file content Pin
Programm3r5-Mar-07 21:58
Programm3r5-Mar-07 21:58 
QuestionMedia Pin
Try5-Mar-07 21:33
Try5-Mar-07 21:33 
AnswerRe: Media Pin
kakan5-Mar-07 21:39
professionalkakan5-Mar-07 21:39 
GeneralRe: Media Pin
Try5-Mar-07 21:43
Try5-Mar-07 21:43 
GeneralRe: Media Pin
kakan5-Mar-07 22:09
professionalkakan5-Mar-07 22:09 
I haven't tested this, but this is the main program flow for it:

WIN32_FIND_DATA fd;

HANDLE h = FindFirstFile("A:\\*.*", &fd);
if(INVALID_HANDLE_VALUE == h) {
   // Didn't work, there are no diskette in the drive, 
   // or the inserted diskette is broken, not formatted, 
   // or some other error.
   DWORD dw = GetLastError();
   // Check dw for ERROR_NOT_READY or somthing similar.
   // The debugger will show you the exact eror code.
}
else FindClose(h);


Adjust the code for unicode, if you need to.


Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson

GeneralRe: Media [modified] Pin
Try5-Mar-07 22:39
Try5-Mar-07 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.