Hi everyone:
Let me explain my dilemma. We have this fire alarm panel installed in the manager's office in our apartment complex. It says "Silent Knight 5808" on the front of it. It works by having sensors in the air ducts all over the complex. And if one of them is tripped by smoke the panel...
Hi everyone:
I've come upon a problem when trying to copy a bitmap handle from a window of one process to another. I have a static bitmap control in one app and I am copying its bitmap handle to another using CopyImage API like this:
HANDLE hBitmap = (HANDLE)SendMessage(hStaticWnd...
Hi everyone:
Is there any way to get access to internal data represented by Icon or Cursor handle (HICON or HCURSOR) -- some sort of kernel or low-level API that does opposite to CreateIconFromResource()? Something that could return icon/cursor intenal data given its handle?
I know that there...
Hi guys:
How come WindowFromPoint API can't recognize a window with WS_EX_TRANSPARENT and WS_EX_LAYERED styles?
If it is made by design how to bypass it to receive a handle of such window from a point on the screen?
Thanks in advance
Hi everyone:
I am creating a program that requires registration, so I am attempting to write all the user information into the Windows Registry under HKEY_LOCAL_MACHINE key for it to be accessible if my program is run from every user account on that machine. Everything works great until a user...
Hello everyone:
I was successfully using EnableThemeDialogTexture API to enable XP theme in a tab control dialog box for a custom made Property Sheet until the time when I had to add a dynamically created static control to it. This static control is created from the WM_INITDIALOG message...
Hello everybody:
Does anyone know how to create a shortcut link on the Windows Quick Launch bar? (That is the one next to Start button)
I found lots of documentation about Desktop, Start Menu, but nothing about Quick Launch. Any ideas will be greatly appreciated!
Hi everyone:
I need to inject a function into a process using WriteProcessMemory but it requires its size in bytes. Is there any way to find it out? I tried sizeof() and compiler returned an error.
Hi everyone:
I seem to be stumped by the simplest -- I have a Win32 program and I need to display a message box centered by the parent window. Here's the example:
MessageBox(hParentWnd, "Message to display", "Program Name", MB_ICONERROR | MB_OK);
Well, the problem is that it is centered in...
Hi everyone:
I've reached a complete deadend trying to install a Windows hook on a Win9x system (Windows 95/98/Me). The following code works fine on any of the WinNT systems (Windows NT/2000/XP) but it does mysteriously nothing on neither of my Windows 95 or 98. Any help will be GREATLY...
Hi everybody:
Is there any way to determine a language of a resource (dialog in particular) at a run-time? I know some'd say look in Resource View window, but the problem is that I need it done in a DLL module.
Any help will be greatly appreciated :)
Hi everyone:
It seems to be very easy but somehow I'm stuck in the middle of it. The GetModuleFileName(hModule, pFileName, nSz) returns NULL if hModule refers to console app (and probably 16bit app too). There's absolutely no way around it as I need to get file path from the window handle...
Hi everybody:
I'm currently using Microsoft Visual C++ .NET 2002. I've seen screenshots of Microsoft Visual C++ .NET 2003. Can somebody tell me if there is a big difference between two? And whether I should upgrade or not?
Thanks in advance...
Hi everyone:
I seem to have an issue with GetProcessImageFileName() function on my Windows XP. It returns file path that looks like this:
"\Device\HarddiskVolume1\Windows\system32\notepad.exe"
But when I try to open this file I get an error "ERROR_PATH_NOT_FOUND" -- what is this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.