|
maybe I should hit my refresh button more often :p
|
|
|
|
|
.... LOL .....
Regards
Programm3r
|
|
|
|
|
Work
Tank You very much!
|
|
|
|
|
|
GetCurrentDirectory();
KIRAN PINJARLA
|
|
|
|
|
Retrieves the current directory for the current process.
<br />
DWORD GetCurrentDirectory(<br />
DWORD nBufferLength,<br />
LPTSTR lpBuffer<br />
);<br />
Regards
Programm3r
|
|
|
|
|
<br />
GetModuleFileNameEx()
GetCurrentDirectory()
SetCurrentDirectory()
GetWindowsDirectory()
GetSystemDirectory()
|
|
|
|
|
Hi,
I need send mouse message (click, mouse move...) to child window. I have main dialog and this
have child dialog. Do you know whether exist some automatic message??? Or I must send these messages
to the Child by mean code??
Thanks
|
|
|
|
|
majco333 wrote: Do you know whether exist some automatic message???
What do you mean by this?
you can use SendMessage, given handle to window, for sending messages to that window.
|
|
|
|
|
Whether do not exist some message or switch whitch send messages from parent to child..
I have child window in ActiveX control
|
|
|
|
|
What do you need,exactly?and see SendMessage(...) (WM_LBUTTON*)and do you want to send one message (WM_MOUSEOVER) from main dialog to child dialog,right?
|
|
|
|
|
I need to handle mouse move when is out of child window too...
I handling mouse move in Child window but when I am with mouse out of child window, do not go me message... Do you know how do it?
|
|
|
|
|
majco333 wrote: I need to handle mouse move when is out of child window too...
Why this is required, can you explain ?
You can trck when mouse leave message, but not sure about other.
|
|
|
|
|
|
WM_MOUSELEAVE, when mouse leaves the windows client area
|
|
|
|
|
ON_MESSAGE(WM_MOUSELEAVE,OnMouseLeave) is not function me
|
|
|
|
|
majco333 wrote: ON_MESSAGE(WM_MOUSELEAVE,OnMouseLeave) is not function me
you need to use TrackMouseEvent
Refer this article[^]
You will get idea of using it.
|
|
|
|
|
But I need Point when I out of Child window... I do not need timer...
|
|
|
|
|
majco333 wrote: But I need Point when I out of Child window... I do not need timer...
What do you mean by this you needed co-ordinates ?
If its an activX,It must have some interfaces to communicate with you can use its interfaces to send required info.
|
|
|
|
|
Yes I need to store co-ordinates..
|
|
|
|
|
hi
Try SetCapture and ReleaseCapture methods. That helps to cature mouse events outside ur window.
If u can Dream... U can do it
|
|
|
|
|
Hi,
I want to limit the available BaudRates in the CommConfigDialog dialog.
Reason: The devices I will communicate with only accepts some different BaudRates. (i.e. 9600,38400)
Question: Is there some way to configure this CommConfigDialog dialog so that it doesn't show all possible BaudRates?
Pseudo code:
COMMCONFIG cfg = { sizeof( COMMCONFIG ), 0 };
cfg.dcb.BaudRate = nValue; //Current value
cfg.SetAvailabelBaudRates = CBR_9600 | CBR_38400; //<---Something like this
CommConfigDialog("COM1",this->GetSafeHwnd(), &cfg ) ){
/Frull
|
|
|
|
|
Hi all,
I'm trying to create a mailslot, that a remote computer can write to ... but the thing is I've tried the following:
<br />
LPTSTR Slot = TEXT("\\computername\\mailslot\\name");<br />
LPTSTR Slot = TEXT("\\domainname\\mailslot\\name");<br />
LPTSTR Slot = TEXT("\\\\.\\*\\mailslot\\name");<br />
Where the computername was the name of the remote computer,
And the domainname the name of the domain, but I keep getting a error code 123 or 3.
Can anyone help??
Thanx in advance
Regards
Programm3r
|
|
|
|
|
Try
LPTSTR slot = _T("\\\\.\\mailslot\\name");
Steve S
Developer for hire
|
|
|
|
|
Thanx Steve for the response,
But the thing is I don't think that statement will work over a network from server to client?
According to MSDN:
<br />
\\.\mailslot\name Retrieves a client handle to a local mailslot <br />
Regards
Programm3r
|
|
|
|