-1
votes
2answers
57 views

Why won't GetMenuItemInfo work?

I'm trying to read the label names of menu items in an active application and store them in a List<String>. Unfortunately, dwTypeData ALWAYS returns null. Why is this? ...
1
vote
1answer
42 views

How to change the system's audio volume using Win32 function called via PInvoke from Managed Code

I'm trying to change the audio volume of the system by making a Win32 API call in my C# WPF application. Every site I've looked at showed code similar to the following: double val_c = 0; private ...
-1
votes
0answers
36 views

How do I keep this window from minimizing during show desktop?

Okay, so I have a window in my C# WPF app that acts an alternative desktop for Windows. Naturally, I used the PInvoke Win32 call "SetParent" to set it as the child window of the desktop. My only ...
3
votes
1answer
81 views

Wrong window shows up on taskbar when calling `Show()`

This one has me puzzled, and I am starting to believe it's a bug in either the core winapi, or possibly in WPF. In case nobody here knows a possible cause for the problem I will file a bug report at ...
0
votes
1answer
64 views

WPF app doesn't work on Windows XP

I have made an app in WPF (Visual Basic 2010 Express) that takes empty PDF and writes on him data from database and saves full PDF in folder. App works fine on Windows 8, windows Vista and Windows 7. ...
0
votes
0answers
57 views

All WPF Multiple windows not closed on “Closed All Windows” command from task bar

My WPF app brings windows, which might get grouped on the task bar. Suppose I right-click the task bar group button and say "Close Group" (XP, Vista) or "Close All Windows" (Win7). Spy++ shows me ...
1
vote
0answers
27 views

Rendering issue witth setting a WPF window as an owner of win32 window

I set the owner of win32 windows as Application.Current.MainWindow( A WPF window). Everything worked fine as what i required but when win32 window is moved over the WPF window .The win32 dialgos get ...
0
votes
0answers
44 views

Performance issue when resizing Win32 containing WPF

I am in the process of migrating an existing legacy project. For now we want to use C++/CLI as a bridge between business logic (native C++) and interface (WPF). I followed this MSDN article on how to ...
-3
votes
1answer
90 views

Get logged in user's name from process running under “run as” credentials

One can run exe as user different from currently logged in one (using "run as"). For example I log in as "user1" into Windows and start executable with "run as" using credentials of "User2". How to ...
0
votes
1answer
46 views

What causes Win32exception “The specified procedure could not be found”?

What exactly does this exception mean, and why it is happening? More info: This is where it happens: Id = GlobalAddAtom("aString"); if (Marshal.GetLastWin32Error() != 0) { throw new ...
2
votes
1answer
50 views

What are the implications of WPF not using Windows (pl.) for Controls?

I would appear that in a classic Windowstm application each control that is displayed (Button, ListBox, Menu, ...) gets it own Window (as in HWND). Further, with Windows Forms (WinForms), while the ...
2
votes
1answer
76 views

Are native Windows Controls still used in .NET GUIs?

Is the stuff that is displayed when you create a GUI with WinForms or WPF still based on the native controls like Common Controls or any of the system provided Window Classes or is everything that is ...
3
votes
1answer
126 views

How to restore a window without giving it focus using WPF (or interop)

I need to restore ("un-minimize") a WPF window that has already been created but the window that's currently on top (not necessarily WPF) can't lose focus or activation. I have tried using all WIN32 ...
6
votes
1answer
209 views

WPF Child Window Hosted in Third Party App Invisible on Windows 7 Aero Themes

I have a WPF window which has to behave as an overlay of a window in third party running application. My WPF window must be mostly transparent with some visible controls, always be positioned right on ...
0
votes
0answers
64 views

Program stops working error whenever I try to restore my app main window

I have a WPF application which is activated by a hot key, everything seems to be working fine and I have this method which I linked to my main method which does the job. private static void ...

1 2 3 4 5 11
15 30 50 per page