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...
Thanx,
Basically what i want to know is, how does the Kernal know which Device Driver to look into when the UserMode appication requests a device to perform some operation.
Eg: If the user program gives a command to the kernal to draw a circle on the screen, the kernal will locate the device...
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...
...There are some redundant operations performed in the method, which u can ignore or modify....
#define DibWidth(pDib) (((BITMAPINFOHEADER *)pDib)->biWidth)
#define DibHeight(pDib) (((BITMAPINFOHEADER *)pDib)->biHeight)
#define DibBitCount(pDib) (((BITMAPINFOHEADER *)pDib)->biBitCount)...
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...
Yees, but i need to get a handle to the Window the application has opened.
How can i get the window handle from the application handle or the DDE handle.
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...
...code below, which does not work correctly, it just displays a MessageBox with balnk..
#include <oleidl.h>
#include "CIDropTarget.h"
//*************************************************************
// CIDropTarget
//*************************************************************...
Mike, i am having a problem sending messages to the application. In the code u sent me, i create a mirror of Calc.exe, and when any key event occurs over the mirror, i send it to the application. But it does not show at the application.
I am using the below function to send a message to the main...
...#include <fstream>
using namespace std;
struct sndex{
char code[4];
int freq;
};
struct sndex sx[15];
void addDatEntry(char* param);
void main(){
//Since the max num of structs in Arr are 15
for(int i =0; i<15; i++)
{
strcpy(sx[i].code,"\0");
}...
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.