Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

I'm trying to write a CLAP plugin - a library that is used by another application. The API provides a parent HWND to embed the form of your plugin into the forms of the host application. With VCL ...
natraj's user avatar
  • 65
0 votes
0 answers
82 views

I am using windows API to make a window that acts as a server and starts and shuts down on the port I specify in the “PORT” cell. This code is using the windows crate (0.58.0) The code for the “...
David Peinado's user avatar
0 votes
1 answer
297 views

I have an application which is a GUI written using Java Swing. Within the app I'm using a rest API which requires a window handle (HWND) as one of it's parameters (the API creates a JPG and displays ...
DecentWig's user avatar
-1 votes
1 answer
228 views

I am trying to get the window name of bluestacks android emulators, which aren't static. The PID would also be enough since the window names are obtainable with it, but device.get_pid just returns: &...
User3872's user avatar
1 vote
1 answer
1k views

I want to get a WindowId from a HWND from F# and .NET so I can call other WinRT APIs which want a WindowID. I think this is done in WIL: inline winrt::Windows::UI::WindowId GetWindowIdFromWindow(...
Nick Darvey's user avatar
  • 1,199
0 votes
0 answers
47 views

I have a button in my Xaml code like this: <Button x:Name="PickFolderButton" Click="PickFolderButton_Click"/> and the code behind is this: private async void ...
lajawi's user avatar
  • 99
0 votes
1 answer
111 views

First you get a MCWE. You know probably better than me how to use it but I would recommend to build a C++ project from scratch and add it then. It uses Unicode character set, make sure to use windows ...
thielo06's user avatar
1 vote
2 answers
599 views

How I'm creating my rendering context using wgl : //Device HDC hdc = GetDC(hWnd); HGLRC hRC = wglCreateContext(hdc); How/where/when should I change the version of the OpenGL context? Is there a ...
LucasSokol's user avatar
0 votes
1 answer
361 views

Recently I working on WPF application where I was getting exception related to Out of memory error. Here is the exception : System.OutOfMemoryException: Insufficient memory to continue the execution ...
Doge's user avatar
  • 23
1 vote
0 answers
1k views

Context I have 2 big projects I'm working on: a game engine, and a file explorer replacement. My focus is Windows only. I know they're 2 huge things I'll likely never complete, I just enjoy coding ...
Barnack's user avatar
  • 951
0 votes
1 answer
606 views

I have a window and then I create a child window using the following code: HWND childHwnd = CreateWindowExA(WS_EX_LAYERED, "Test", "Test", WS_CHILD, 0, 0, 500, 500, mainHwnd, NULL, ...
ppp's user avatar
  • 3
-1 votes
1 answer
972 views

I need to write a program in C++ that queries the OS for running Windows, find a Window with a specific window title, and return the Native Window Handle value as a String. So far, I've figured out ...
lakers5824's user avatar
1 vote
0 answers
14 views

I have a script that is invoked via right click context menu in Windows Explorer. I'm not sure if this is possible, but I want to capture the HWND of the window from which I invoked the script. Right ...
fmotion1's user avatar
  • 577
0 votes
0 answers
79 views

I have an application that use a CreateProcess() function and create a new console window with FarManager run inside. The FarManager is installed on the computer and registered in the environment ...
Zhe87's user avatar
  • 31
0 votes
0 answers
134 views

I am trying to send keystrokes (TAB) a couple of times within an external window from a vb.net program. How can I select/activate the window (for example, how would I do it if it's a Word document/ I ...
Cevillasenor's user avatar
0 votes
1 answer
622 views

I have an HWND that I have been using as the target of OpenGL draw operations, and it is necessary that it be an HWND and not a GLFWwindow for other utilities of the application I'm making. The ...
Aejjee's user avatar
  • 197
1 vote
2 answers
3k views

Is there a way to get the hwnd-object from a specific window by only providing the executable path or name? Like GetForegroundWindow() from win32gui but not just the foreground window. Id imagine ...
Nx2's user avatar
  • 29
1 vote
1 answer
388 views

I am running an infinite loop and every frame I'm taking a screenshot from a desired window and turning it into a Mat then searching that Mat for a template image using matchTemplate. If I read in the ...
Bobby Phlay's user avatar
5 votes
0 answers
631 views

I am beyond tired researching this topic at this point. There are a million APIs in the system to achieve part of this, i.e. enumerate all windows, but nothing about how to get them in the real z-...
user1371019's user avatar
0 votes
0 answers
512 views

I created a simple windows app that i want to pin to my desktop similar to a wallpaper widget. I am using a nodeJS module that is almost doing everything i want. Essentially from my limited ...
Patrick's user avatar
  • 820
0 votes
1 answer
939 views

I am trying to use an api library with functions that send messages to a server, then receive back messages. One of the function's arguments is a HWND and the library document says the message will be ...
Hpotato's user avatar
1 vote
1 answer
746 views

I'm developing a plugin so I don't own the parent window, but it would help me workaround an issue if i can figure out when the parent window of my window is destroyed (or alternatively when it ...
James's user avatar
  • 39
0 votes
0 answers
85 views

In a nested tab structure of type CMFCTabCtrl(e.g. CMFCTabCtrl as Tab in parent CMFCTabCtrl), how can I show a parents tab inside the parent tab and a child CMFCTabCtrl tab? ParentTab1 ParentTab2 ...
ezegoing's user avatar
  • 526
0 votes
0 answers
340 views

I'm trying to get the threadId of explorer.exe. I'm not quite sure how to go about doing that. I've looked into win32 apis for functions of appropriate names, but I haven't quite found what I'm ...
user8694-03's user avatar
-2 votes
2 answers
487 views

Is this a memory address ranging to (theorically) 2^32-1 on 32-bit machine? The reason I'd like to know that is I'm trying to somehow associate a HWND returned by CreateWindow() to a class instance, ...
Jack's user avatar
  • 16.7k

1
2 3 4 5
9