Hi All,
i am ausing CreateWindow() with the style WS_VISIBLE | WS_OVERLAPPEDWINDOW along with a "Title".
I would like to make this title bar dissappear at a later time, during the running of the window(when an event is called). How can i make the title bar dissappear, is there some...
I have opend a .html file to which i have passed a Quey string.
How can i display the values passed in the query string in the html page.
For eg:
i have the following page:
http://www.xyz.com/day_of_the_month.htm?lname=asdf&fname=m
I have a day_of_the_month.htm file where i would like to...
Hi All:
I have an elementary question regarding Device Drivers.
It goes something like this:
If i have two Device Drivers installed for the two different hardware, which perform the same tasks. How can i get the system to choose one hardware over the other.
Eg: I have two monitors connected to...
Hi all:
I am faced with a problem which i do not seem to figure out. The machine i am trying to fix does not seem to start. What i mean to say is that when i press the power button, the machine starts and hangs in the opening screes before it detects any of the devices.
It only displays the...
Hi all:
i, just recently put togather a AMD 1.2Ghz Duron processor with a 20Gb HDD 96Mb ram(which i intend to extend to 128MB).
i installed win2k on the machine and when i startup n enter windows, the system hangs after approx 2 minutes of normal use. After which i have to press...
Hi all:
I have a piece of code which captures the screen and saves it as a bitmap file. When i use 32 and 24 bit color it works fine, however..when i set the display to 256 colors, it gives me a blank screen...why?????
Appriciate the help.
Thanks,
Preetham.
Where in the registry can i find the command line for some of the executables.
For Eg:
When i double click on a *.eml file on my desktop, windows by default opens the Outlook Express Mail Window.
Where does it get the command from and what options does it take to open either the Outlook...
Hi,
%HOMEDRIVE%%HOMEPATH% gives me the path to my home dir:
C:\Documents and Settings\Administrator
If i want to retrive the path to All Users:
C:\Documents and Settings\All Users
what should me Environment String be..
Thanks,
Preetham.
I use FindFirstFile() and FindNextFile() to browse thru a directory containing shortcut(.ink)
how can i resolves the attributes of a shortcut file.
Thanks,
Preetham.
I get the input which is a file name.
I would like to open it using its windows default
program(like when i get a abc.txt file, id like
to execute it in Notepad).
After opening the application, i need to get a handle to the window. I can do this by enumeratig the windows calling...
I am using ShellExecuteEx() to create a process.
How can get the handle to the window that it opened.
Atleast, is there a way to get the thread ID, so that i
can call the EnumThreadWindows proc.
I have to use ShellExecute, not CreateProcess, as i do not
have the name of the .exe, i only have...
I have created a window usign CreateWindow() and would like to Drag a File from Explorer and Drop it onto the window.
Upon Dropping, i would like a MessageBox() to open which gives the Name of the file that i Dragged.
How can i do this.
Currently i have the code below, which does not work...
I use createprocess and open an application "A"(eg:calc.exe or notepad.exe). I then create another window and mirror the image of the window generated by "A". Any event on the mirror, i capture and send it to the application window "A".
I am using the below code...
Hi,
I have created a socket and am sending a bitmap to another client socket. I break up the client file into bits of 1024. However, when i send it thru the socket, the destination does not receive all the data. Why does this happen...
Hi,
I am looking for code snippets that implement a n-ary tree.
I wold appriciate if i could get some sites where i could find the code.
Thanks,
Preetham.
i am trying to send keyboard messages and mouse events to a client application(eg:acrobat.exe) that i opend from my program. I used CreateProcess to open the client application.
To simulate mouse clicks and keyboard events on the client application window, i use the SendInput function...
Hi,
I have a driver(abc.sys) file which i want to load into the win2k server system. How can i do that, i have copied the file to the System32\Drivers folder. Now, i now try to get the handle to the driver using CreateFile in my client program, but it returns an error(no2). Is this because i...
Hi,
I have a driver(abc.sys) file which i want to load into the win2k server system. How can i do that, i have copied the file to the System32\Drivers folder. Now, i now try to get the handle to the driver using CreateFile in my client program, but it returns an error(no2). Is this because i...
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.