Click here to Skip to main content
15,893,266 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to determine the last active windows from a tray icon notification handler Pin
Daniel Lohmann7-Oct-02 2:56
Daniel Lohmann7-Oct-02 2:56 
AnswerRe: How to determine the last active windows from a tray icon notification handler Pin
Andreas Saurwein7-Oct-02 6:38
Andreas Saurwein7-Oct-02 6:38 
GeneralRe: How to determine the last active windows from a tray icon notification handler Pin
Daniel Lohmann7-Oct-02 10:11
Daniel Lohmann7-Oct-02 10:11 
GeneralRetrieve Disk volume from a targetId of a scsi device Pin
Chrish1207-Oct-02 2:50
Chrish1207-Oct-02 2:50 
GeneralRe: Retrieve Disk volume from a targetId of a scsi device Pin
Mike Nordell8-Oct-02 4:56
Mike Nordell8-Oct-02 4:56 
GeneralRe: Retrieve Disk volume from a targetId of a scsi device Pin
Chrish12015-Oct-02 6:37
Chrish12015-Oct-02 6:37 
GeneralGetting the MSDOS name in the Application Pin
abhinarulkar7-Oct-02 2:53
abhinarulkar7-Oct-02 2:53 
GeneralRe: Getting the MSDOS name in the Application Pin
Daniel Lohmann7-Oct-02 4:43
Daniel Lohmann7-Oct-02 4:43 
I suppose with "MSDOS name" you mean FAT 8.3 notation, right?

You can get it by calling the GetShortPathName() API.

However, it is a not so good idea to solve your problem this way! Not every filesystem has necessary a 8.3 alternate notation. For NTFS volumes it is just a flag if they store alternate 8.3 names or not. Some network file systems may also not support this old crappy MS-DOS trash.

If your path contains spaces, just enclose it in quotation marks and everything should work fine.

Come on, boys, it's really the time to forget about this legacy 8.3 bullshit Cool | :cool:

--

Daniel Lohmann

http://www.losoft.de
(Hey, this page is worth looking! You can find some free and handy NT tools there Big Grin | :-D )
GeneralCSplitterWnd question Pin
alex.barylski7-Oct-02 2:49
alex.barylski7-Oct-02 2:49 
GeneralIncrediBuild software Pin
Cris7-Oct-02 2:42
Cris7-Oct-02 2:42 
GeneralRe: IncrediBuild software Pin
Victor Rubinstein10-Oct-02 11:44
Victor Rubinstein10-Oct-02 11:44 
GeneralHiding vertical scrollbar in CListCtrl Pin
mishgun7-Oct-02 0:38
mishgun7-Oct-02 0:38 
GeneralRe: Hiding vertical scrollbar in CListCtrl Pin
Jon Hulatt7-Oct-02 1:02
Jon Hulatt7-Oct-02 1:02 
GeneralRe: Hiding vertical scrollbar in CListCtrl Pin
mishgun7-Oct-02 1:49
mishgun7-Oct-02 1:49 
GeneralRe: Hiding vertical scrollbar in CListCtrl Pin
Yaron Nir21-Oct-02 5:06
Yaron Nir21-Oct-02 5:06 
QuestionHow to insert pictures into .mdb database? Pin
Wenrich7-Oct-02 0:06
Wenrich7-Oct-02 0:06 
Generaldouble value from ini file Pin
Raphael Kindt6-Oct-02 22:56
Raphael Kindt6-Oct-02 22:56 
GeneralRe: double value from ini file Pin
Raphael Kindt6-Oct-02 23:11
Raphael Kindt6-Oct-02 23:11 
GeneralRe: double value from ini file Pin
Anonymous6-Oct-02 23:11
Anonymous6-Oct-02 23:11 
GeneralCTreeCtrl insert subitem Pin
Anonymous6-Oct-02 21:37
Anonymous6-Oct-02 21:37 
Generalyour suggestion needed Pin
faad6-Oct-02 21:28
faad6-Oct-02 21:28 
GeneralRe: your suggestion needed Pin
carrie6-Oct-02 22:02
carrie6-Oct-02 22:02 
GeneralRe: your suggestion needed Pin
Joe Woodbury7-Oct-02 21:01
professionalJoe Woodbury7-Oct-02 21:01 
GeneralOnUpdate???(CCmdUI* pCmdUI) function will not be called! Pin
Daniel Strigl6-Oct-02 20:37
Daniel Strigl6-Oct-02 20:37 
GeneralRe: OnUpdate???(CCmdUI* pCmdUI) function will not be called! Pin
Pavel Klocek6-Oct-02 22:07
Pavel Klocek6-Oct-02 22:07 

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.