Click here to Skip to main content
16,003,754 members
Home / Discussions / Windows Development
   

Windows Development

 
PinnedSome links to get started with Metro PinPopular
Nish Nishant23-Feb-12 10:11
sitebuilderNish Nishant23-Feb-12 10:11 
QuestionCan I use Windows? Pin
Richard Andrew x6414-Aug-24 12:36
professionalRichard Andrew x6414-Aug-24 12:36 
AnswerRe: Can I use Windows? Pin
jschell14-Aug-24 14:22
jschell14-Aug-24 14:22 
Richard Andrew x64 wrote:
I know that services are not allowed to interact with any of the desktops.


I open the Services applet.
Pick any service at random.
Right click.
Properties
Select Tab that says "Log On"
There is a check box under "Local System account" that says "Allow service to interact with desktop"


Richard Andrew x64 wrote:
I take this to mean that a service cannot create and/or display windows on any desktop.


Is "Greenshot" not a windows service? Maybe just a task applet.

Certainly you could create an task applet as he UI then the service could talk to and use that. Like SQL Server, Oracle, Docker, etc.

But even so I suspect that a service can create windows. Just not an easy task.

Following google suggests that

windows create UI from windows service



Richard Andrew x64 wrote:
If not send messages, then can a service use Win32 functions to learn information about the existing windows, like their caption text?


Probably but first you must get the window itself. Following seems to suggest how to list windows.

https://stackoverflow.com/questions/42589496/getting-a-list-of-all-open-windows-in-c-and-storing-them[^]

No doubt all of the above is impacted by permissions.
AnswerRe: Can I use Windows? Pin
RedDk14-Aug-24 14:29
RedDk14-Aug-24 14:29 
AnswerRe: Can I use Windows? Pin
Dave Kreskowiak14-Aug-24 16:26
mveDave Kreskowiak14-Aug-24 16:26 
QuestionMultiboot flash drive with Win10 Pin
Jerome Stull25-Mar-24 3:12
Jerome Stull25-Mar-24 3:12 
QuestionWindows APP Cert Kit Error Pin
Gennady4614-Dec-23 22:02
Gennady4614-Dec-23 22:02 
AnswerRe: Windows APP Cert Kit Error Pin
Dave Kreskowiak17-Dec-23 6:18
mveDave Kreskowiak17-Dec-23 6:18 
PraiseRe: Windows APP Cert Kit Error Pin
Gennady4619-Dec-23 21:00
Gennady4619-Dec-23 21:00 
QuestionHow to get Japanese Kanji with phonetic from excel file Pin
a9536004214-Sep-23 0:33
a9536004214-Sep-23 0:33 
AnswerRe: How to get Japanese Kanji with phonetic from excel file Pin
jschell14-Sep-23 11:01
jschell14-Sep-23 11:01 
QuestionWin.iso setup reboot process Pin
Rw23718-Aug-23 4:53
Rw23718-Aug-23 4:53 
QuestionIs anyone actually using Win UI 3 (and if not that, then what?) Pin
Peter Moore - Chicago12-Jun-23 12:58
Peter Moore - Chicago12-Jun-23 12:58 
AnswerRe: Is anyone actually using Win UI 3 (and if not that, then what?) Pin
Texas45195-Aug-23 8:28
Texas45195-Aug-23 8:28 
GeneralRe: Is anyone actually using Win UI 3 (and if not that, then what?) Pin
Gerry Schmitz5-Aug-23 15:38
mveGerry Schmitz5-Aug-23 15:38 
AnswerRe: Is anyone actually using Win UI 3 (and if not that, then what?) Pin
Member 1587078814-May-24 8:58
Member 1587078814-May-24 8:58 
QuestionLoadString with cchBufferMax == 0 Pin
Brian Knittel17-Apr-23 12:03
Brian Knittel17-Apr-23 12:03 
AnswerRe: LoadString with cchBufferMax == 0 Pin
Richard MacCutchan17-Apr-23 22:28
mveRichard MacCutchan17-Apr-23 22:28 
AnswerRe: LoadString with cchBufferMax == 0 Pin
jschell18-Apr-23 5:14
jschell18-Apr-23 5:14 
AnswerRe: LoadString with cchBufferMax == 0 Pin
Brian Knittel18-Apr-23 7:35
Brian Knittel18-Apr-23 7:35 
GeneralRe: LoadString with cchBufferMax == 0 Pin
RedDk11-Jul-24 7:17
RedDk11-Jul-24 7:17 
SuggestionAdding Visual Studio to diskussions? Pin
Bo Vistisen20-Feb-23 12:34
Bo Vistisen20-Feb-23 12:34 
GeneralRe: Adding Visual Studio to diskussions? Pin
Richard MacCutchan20-Feb-23 21:12
mveRichard MacCutchan20-Feb-23 21:12 
QuestionLooking for feedback on why a share on a VPN would auto-lock when using FILE>>OPEN Pin
YSLGuru14-Feb-23 6:42
YSLGuru14-Feb-23 6:42 
AnswerRe: Looking for feedback on why a share on a VPN would auto-lock when using FILE>>OPEN Pin
Dave Kreskowiak18-Feb-23 14:40
mveDave Kreskowiak18-Feb-23 14:40 

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.