Click here to Skip to main content
15,888,286 members
Home / Discussions / Windows Development
   

Windows Development

 
GeneralRe: VB5 on WIndows 10 Pin
Wombaticus20-Aug-15 21:49
Wombaticus20-Aug-15 21:49 
GeneralRe: VB5 on WIndows 10 Pin
MatthysDT20-Aug-15 21:58
MatthysDT20-Aug-15 21:58 
QuestionHow do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse15-Aug-15 10:31
Ben Aldhouse15-Aug-15 10:31 
AnswerRe: How do I check to see if any running applications have unsaved documents? Pin
Richard MacCutchan15-Aug-15 21:05
mveRichard MacCutchan15-Aug-15 21:05 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse16-Aug-15 0:50
Ben Aldhouse16-Aug-15 0:50 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Eddy Vluggen16-Aug-15 1:09
professionalEddy Vluggen16-Aug-15 1:09 
AnswerRe: How do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse16-Aug-15 2:22
Ben Aldhouse16-Aug-15 2:22 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Kornfeld Eliyahu Peter16-Aug-15 4:17
professionalKornfeld Eliyahu Peter16-Aug-15 4:17 
When you close an application (Inkscape for instance), it will receive a WM_CLOSE[^] message form the OS and as response to it it will ask you to save (or not to save) the unsaved documents...
When you close the whole OS the messages to send is WM_QUERYENDSESSION[^] and WM_ENDSESSION[^].
If those messages are not handled the application will lost data...
So it is entirely up to the application...
However you may replace the standard shutdown process with your own, where before any other messages you send a WM_CLOSE to each (top-level) window...If the window returns 0 (means, it handled the message), you continue to the next, but if not you can pop a message to alert the user and bring the window to focus...If you got to the end of the list, you can shut down the OS...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.

GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse16-Aug-15 8:59
Ben Aldhouse16-Aug-15 8:59 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Eddy Vluggen16-Aug-15 4:52
professionalEddy Vluggen16-Aug-15 4:52 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse16-Aug-15 8:46
Ben Aldhouse16-Aug-15 8:46 
QuestionHow to show long form of date & time in Taskbar for Windows 10? Pin
swampwiz5-Aug-15 4:36
swampwiz5-Aug-15 4:36 
AnswerRe: How to show long form of date & time in Taskbar for Windows 10? Pin
Richard MacCutchan5-Aug-15 5:26
mveRichard MacCutchan5-Aug-15 5:26 
GeneralRe: How to show long form of date & time in Taskbar for Windows 10? Pin
swampwiz5-Aug-15 7:37
swampwiz5-Aug-15 7:37 
GeneralRe: How to show long form of date & time in Taskbar for Windows 10? Pin
Wes Aday5-Aug-15 7:57
professionalWes Aday5-Aug-15 7:57 
QuestionHow to make Windows 10 windows look like Windows 7? Pin
swampwiz5-Aug-15 4:25
swampwiz5-Aug-15 4:25 
AnswerRe: How to make Windows 10 windows look like Windows 7? Pin
Pete O'Hanlon5-Aug-15 8:32
mvePete O'Hanlon5-Aug-15 8:32 
QuestionWindows Universal Platform on Windows 7? Pin
Matt T Heffron16-Jul-15 8:15
professionalMatt T Heffron16-Jul-15 8:15 
AnswerRe: Windows Universal Platform on Windows 7? Pin
Richard Deeming16-Jul-15 8:30
mveRichard Deeming16-Jul-15 8:30 
GeneralRe: Windows Universal Platform on Windows 7? Pin
Matt T Heffron16-Jul-15 10:55
professionalMatt T Heffron16-Jul-15 10:55 
AnswerRe: Windows Universal Platform on Windows 7? Pin
Richard Andrew x6416-Jul-15 13:17
professionalRichard Andrew x6416-Jul-15 13:17 
QuestionWindows Runtime applications; Updating title Pin
Afzaal Ahmad Zeeshan28-Jun-15 12:35
professionalAfzaal Ahmad Zeeshan28-Jun-15 12:35 
AnswerRe: Windows Runtime applications; Updating title Pin
Pete O'Hanlon28-Jun-15 21:08
mvePete O'Hanlon28-Jun-15 21:08 
AnswerRe: Windows Runtime applications; Updating title Pin
Afzaal Ahmad Zeeshan29-Jun-15 1:02
professionalAfzaal Ahmad Zeeshan29-Jun-15 1:02 
GeneralRe: Windows Runtime applications; Updating title Pin
Pete O'Hanlon29-Jun-15 1:11
mvePete O'Hanlon29-Jun-15 1:11 

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.