|
|
WH_CBT is not a window message; it's a hook type. See the SetWindowsHookEx API. You might want to look for some articles on hooks as global hooks are hardish to write.
Steve
|
|
|
|
|
Javagal Srinath wrote: I know WM_CREATE message is only sent to window which we register, ie we get
notifiation of a window creation of our application.
this[^] will work for you!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
pathakr wrote:
Use findwindow
I believe you posted your reply to wrong person, i am not person in problem here!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Alok my apologies ,
thanks
pathak
|
|
|
|
|
Hi all,
Creating an App with Tray icon is one way to customize my app. But I want to hide all of them, i want my app runs in background, maybe it will appear in window processes, but i want no trayicon, no taskbar tab. Can anyone help me.
it looks like some compress program, you can compress in background, no taskbar, no trayicon.
I just want my app run silently and noone can know it is running, except for going to task processes
Please help me.
|
|
|
|
|
|
But when I click on "Clear TaskBar", i found "No TaskBar Found"
I just want my app run silently and noone can know it is running, except for going to task processes
|
|
|
|
|
Tray Icon you dont need to worry, It will appear there only when you make it appear there.;P , but for taskbar,
See here^.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
stonemind wrote: I just want my app run silently and noone can know it is running, except for going to task processes
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
stonemind wrote: ut i want no trayicon, no taskbar tab. Can anyone help me.
Create Window with WS_EX_APPWINDOW and WS_EX_TOOLWINDOW style!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hello everyone, i have met a "Run-time Check failure" error when i use a WCHAR buffer to get sting read from a file.
"Run-time Check failure #2-stack around the variable tmp was corrupted", and "tmp" is a WCHAR variable.
can you tell me the reason to bring this error and how to resolve it.
|
|
|
|
|
wanglei1980 wrote: "Run-time Check failure #2-stack around the variable tmp was corrupted", and "tmp" is a WCHAR variable.
can you tell me the reason to bring this error and how to resolve it.
This[^] could be the reason though not sure.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
wanglei1980 wrote: "Run-time Check failure #2-stack around the variable tmp was corrupted", and "tmp" is a WCHAR variable.
While Creating any varible specially Visual Studio .net 2003 and above, give default value to variable other wise you will always see this type of error!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
I'm not sure see Here[^] maybe it is some helpful to you
whitesky
|
|
|
|
|
Anybody please send me a code of how to search a keyword in all files and folders and displaying the file names containing that keyword in c++ or qt3.3.2
malya
|
|
|
|
|
B.L.MALYADA DEVI wrote: Anybody please send me a code of how to search a keyword in all files and folders and displaying the file names containing that keyword in c++ or qt3.3.2
Read this first[^]
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
I think one answer but its goto start
whitesky
|
|
|
|
|
Use WIN32_FIND_DATA where you can get the names of the files that exist in a directory.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
I think he wants to search in file not search for file
whitesky
|
|
|
|
|
In this way the keyword can't be searched in folders and he mentioned folders over there in his post.
May be you are right.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
-- modified at 6:43 Monday 29th May, 2006
|
|
|
|
|
|
hi all,
I have the following coding to extract audio from video..
void CWave::ReadWaveFile(unsigned long *sp_long_In)<br />
{<br />
char *sp_char, cConst[3];<br />
char cBuf[3];<br />
unsigned long *sp_long;<br />
int i, j;<br />
int iflag;
WAVE_CHARTOLONG Wave_chartolong;<br />
<br />
sp_char = m_DECbuf;<br />
m_DECwavdata = new unsigned long[m_DECcount]; <br />
sp_long = sp_long_In;<br />
cConst[0] = 'P';<br />
cConst[1] = 'C';<br />
cConst[2] = 'M'; <br />
i = 1;<br />
j = 0;<br />
while( i <= (m_DECcount * 2))<br />
{<br />
sp_char = m_DECbuf + sp_long[i]; Wave_chartolong.CharBuff[0] = *(sp_char + 4); <br />
Wave_chartolong.CharBuff[1] = *(sp_char + 5);<br />
Wave_chartolong.CharBuff[2] = *(sp_char + 6);<br />
Wave_chartolong.CharBuff[3] = *(sp_char + 7);<br />
sp_char += Wave_chartolong.UL; <br />
memcpy(cBuf, sp_char, 3);<br />
iflag = memcmp(cBuf, cConst, 3);<br />
if(iflag == 0)<br />
{ <br />
m_DECwavdata[j] = (unsigned long)sp_char; <br />
j = j + 1;<br />
}<br />
i += 2;<br />
<br />
}<br />
<br />
ReadyPlayWave();<br />
}
void CWave::ReadyPlayWave()<br />
{<br />
lpFormat = new WAVEFORMATEX;<br />
lpFormat->wFormatTag = 1;<br />
lpFormat->nChannels = 1;<br />
lpFormat->nSamplesPerSec = 7500;<br />
lpFormat->nAvgBytesPerSec = 7500;<br />
lpFormat->wBitsPerSample = 8;<br />
lpFormat->nBlockAlign = 1;<br />
lpFormat->cbSize = 0;<br />
<br />
}
Can any one please review it.
here Audio is extracted in ReadWave file and we can play the video by ReadyPlaywave ().
I can able to play audio.but i have to save that audio in .wav format.Is it posiible.
how to do that.
help me plzz
Thanks,
Sunita
|
|
|
|
|
See Here[^] maybe it is some helpful to you
whitesky
|
|
|
|