|
Hi all,
I have a Tree View and List View as a Splitter View. I have menus for both of them i want to implement Custum Command Routing both of the Views.
Please Help me out.
uday.
|
|
|
|
|
Hi
Can i recieve my msn messenger contact list by providing it my username and password by using my own messenger application?
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
|
hi all plz tell me ..........
i want to know that i hve open certain windows and now i want to make a button on which when i click all opened windos are minimized
and a made second button on which when i click all windows are maximized
plz tell me how i can do this
plz send me example for this................
Ashish Dogra
MCA
Noida
|
|
|
|
|
EnumWindows()
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
PostMessage(FindWindow("Shell_TrayWnd", NULL), WM_COMMAND,<br />
MAKELONG(415, 0), 0);<br />
<br />
PostMessage(FindWindow("Shell_TrayWnd", NULL), WM_COMMAND,<br />
MAKELONG(416, 0), 0);
reference : http://www.borngeek.com/coding/window/minimize_all.html[^]
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
thanks sir but as i try this an error that postmessage will not take four parameters will appear
plz tell me
Ashish Dogra
MCA
Noida
|
|
|
|
|
try Using ::PostMessage
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Replace the above code with this.
::PostMessage(FindWindow("Shell_TrayWnd", NULL)->GetSafeHwnd(), WM_COMMAND,MAKELONG(415, 0), 0);<br />
<br />
::PostMessage(FindWindow("Shell_TrayWnd", NULL)->GetSafeHwnd(), WM_COMMAND,MAKELONG(416, 0), 0);
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
sir plz tell me
sir as u try this code iwill not giving any error
but sir as i run my application and open windows and then i press the button
it will minimisze all now to maximize telme how
Ashish Dogra
MCA
Noida
-- modified at 3:13 Wednesday 5th July, 2006
|
|
|
|
|
sir now it will give another tpye of error
as:''''
cannot convert parameter 1 from 'class CWnd *' to 'struct HWND__ *'
Ashish Dogra
MCA
Noida
|
|
|
|
|
see my previous post.It should work.
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Use ::FindWindow instead of FindWindow
FindWindow return CWnd
::FindWindow return HWND
OR
or Cast CWnd pointer to HWND
|
|
|
|
|
That is what i have shown in my previous post.
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Hi all,
I was just wondering if anyone could point me too a site or a piece of sample code to complete the following (In VC++):
-> Receiving an Email.
-> Saving the attachments of the Email to a specific folder on one's drive.
Thanx alot if anyone could help me.
Regards
Programm3r
|
|
|
|
|
|
See Here[^] maybe it is some helpful to you
whitesky
|
|
|
|
|
Hi
I am creating a messenger. By the way it is not my class assingment;P I am doing it just for fun. Ok problem is that i could not think of the best way to do it. In fact i want to ask how i can manage different chat sessions.
Let me give you an overview.
Should i create a saparate thread when a user double clicks on a online contact to chat with him?
Can someone provide me help or any resourse regarding this project? I have done work in socket programming. So i have no problem in that part. I just want high level logic for implementing messenger.
Please help me
Thanks
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
|
thanks for help but sourse file is not available there.
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
I dont think there is a need for a thread for each session, unless you have special processing logic for each session. For the UI, a modeless dialog should be enough for each session.
|
|
|
|
|
Please help me!
I am writing a small program that I want to uses the Hook function for windows'socket functions like recv, send,...
I have tried to uses the function SetWindowsHookEx:
HHOOK SetWindowsHookEx(
int idHook,
HOOKPROC lpfn,
HINSTANCE hMod,
DWORD dwThreadId
);
But it seems to have too fews argument.It has only 4 arguments: one for the type of hook, one for the address of the function to be hooked, one for the instance that contain the function, one for the thread that the function is running in. I cannot find out where to put the address of the new function that I want to put into the hook chain.
Please show me where to put the new function's address, how to uses the SetWindowsHookEx function and how its argument work.
Thank you very much!
|
|
|
|
|
lpfn parameter is the HOOKPROC. you can pass the function handle there.
But i think you are trying to do something like sniffing right? Search codeproject for "Sniffer" you will get plenty of tools with source code.
SetWindowsHookEx allows us to HOOK these types
WH_CALLWNDPROC Thread or global
WH_CALLWNDPROCRET Thread or global
WH_CBT Thread or global
WH_DEBUG Thread or global
WH_FOREGROUNDIDLE Thread or global
WH_GETMESSAGE Thread or global
WH_JOURNALPLAYBACK Global only
WH_JOURNALRECORD Global only
WH_KEYBOARD Thread or global
WH_KEYBOARD_LL Global only
WH_MOUSE Thread or global
WH_MOUSE_LL Global only
WH_MSGFILTER Thread or global
WH_SHELL Thread or global
WH_SYSMSGFILTER Global only
AFAIK it is not possible to hook socket using this API.
SaRath.
"It is your attitude, not your aptitude, that determines your altitude - Zig Ziglar."
My Blog | Understanding State Pattern in C++
|
|
|
|
|
|