Questions tagged [createwindowex]
43 questions
0
votes
1 answer
Show taskbar button when using WS_EX_TOOLWINDOW
Is it possible to display the taskbar button when WS_EX_TOOLWINDOW flag is used in CreateWindowEx?

mlomb
- 172
- 4
- 18
0
votes
1 answer
How create a screenlocker similar to Windows UAC?
I'm trying to create a screen locker, similar to Windows UAC, like shown in this tutorial. I am having difficulty creating the background maximized window, with reduced light, and a screenshot of the desktop.
Here is all the code I have tried so…
user6828073
0
votes
1 answer
How to create a Microsoft Windows Child window using JNA
I have spent some time trying to create a child window of an existing window by using the following piece of code on JNA (Java Native Access) but I guess it is pretty much the same with every other programming language trying to use Windows…

Nikola Yovchev
- 9,498
- 4
- 46
- 72
0
votes
1 answer
Failed CreateWindowEx. How do I get my window (with the button) to actually pop up for once?
I can only assume most of this works because I can't get past the CreateWindowEx check.
If someone would double check all of my fun button code that would be great too.
#include
#include //I was told I needed this line but I…

Eli Samuel
- 5
- 2
0
votes
2 answers
WinAPI FindWindow
I am building a win32 application in visual studio 2012. I have 4 disabled buttons created with the following code:
HWND hWndButton=CreateWindowEx(NULL,
L"BUTTON",
L"APP1",
…

diego10
- 533
- 2
- 11
- 18
0
votes
1 answer
Displaying Int Variable in LPCSTR CreateWindowEx function
So i am making a basic tic tac toe game as my first program in win32 (just for fun to learn more, no school assignment or anything). I have most of the UI done and the basic gameplay such as clicking squares and placing x's or o's appropriately. I…

Riley
- 391
- 1
- 2
- 11
0
votes
1 answer
Successful build with createWindowEx, window still won't appear
I'm trying to learn some windows and directX programming and I was messing around trying some different things. When suddently my the windows stopped appearing, even tho it was a successful build. I figured I must have messed something up and I…

Fredrik Boston Westman
- 349
- 1
- 6
- 16
0
votes
1 answer
Applying Windows theme to custom control with WS_BORDER style
I have a custom control created using CreateWindowEx with the WS_BORDER style. Everything works fine apart from the border appearing in a different colour to other controls in the dialog box. The border in my control is black, the other controls…

fhevol
- 934
- 10
- 28
0
votes
2 answers
Where is CreateWindowEx()?
I'm trying to understand how winapi works. I just started on writing my first few apps. Now I am curious about the function "CreateWindowEx()" I wish to know what is written inside this function, but all I can find are the arguments for calling it…

sirkyuubi
- 1
- 1
0
votes
1 answer
CreateWindowsEx() failing with Breakpoint triggered
I've got an issue with opening an OpenGL window from my application.
I am using a 64bit console application, and from within that console I want to open another window for OpenGL to draw into.
The call fails at CreateWindowEx(), and fails with…

SinisterMJ
- 3,425
- 2
- 33
- 53
0
votes
1 answer
Cannot create window (CreateWindowEx) with existing child class
I have a parent window and a few child windows attached to this. With SpyXX I can see the children all have a certain style class, lets say ChildWindowClass.
When I create the window with the name of this particular class, CreateWindowEx returns a…

Horst Walter
- 13,663
- 32
- 126
- 228
-1
votes
1 answer
How to create a window that behaves like taskbar?
I want to ask how to create a window that behaves like taskbar (shell_traywnd)?
In a windows app called Enable Viacam (camera mouse for disabled people) I saw that the app creates a taskbar-like window on the top of the screen (see the image below)…

bko
- 1
- 2
-1
votes
1 answer
Why does uninitialised return value cause Invalid Window Handle err in CreateWindowEx?
Edit- Added code to do with m_hWndClient and the WndProc that were not originally included. In an attempt to be brief I had incorrectly assumed it was unrelated.
After the following is run
HWND m_hWndFrame;
HWND m_hWndClient; // added in…

Malorion
- 508
- 1
- 4
- 13