|
Stephen Hewitt wrote: Are you sending the WM_GETTEXT message between processes?
Nope. I have created the Edit Control in the COM component which runs under the same process as outlook does. A peculiar behavior is that, when the Edit control has focus and I press the Backspace key, the Backspace key gets transferred to Outlook and it is outlook that reacts to the Edit key, not the Edit control. Can you explain this peculiar behavior or the scenarios when this happens?
Thanks for replying.
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|
|
Stephen Hewitt wrote: Are you sending the WM_GETTEXT message between processes?
Usually People use this Message to reterive text from other UI
"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
|
|
|
|
|
Yeah, but the scenario I enquired about could explain the crash which is why I asked: the address in LPARAM is only valid within the sending process.
Steve
|
|
|
|
|
I think, u r trying 2 use a pointer with out allocating it.
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Can you show your code that has error
whitesky
|
|
|
|
|
NiceNaiduI think, u r trying 2 use a pointer with out allocating it.
Nope. I don't think so!
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|
|
my answer now your answer 17 min ago
whitesky
|
|
|
|
|
TechyMaila wrote: Nope. I don't think so!
Could you show me your Code of SendMessage ?
"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 have error while using SetWaitableTimer on IA64 machine. What could be the solution? IS there any alternative for that API? Or do I need to change any settings?
Prashant Joshi
|
|
|
|
|
Check this Sample from MSDN
#define _WIN32_WINNT 0x0500<br />
<br />
#include <windows.h><br />
#include <stdio.h><br />
<br />
int main()<br />
{<br />
HANDLE hTimer = NULL;<br />
LARGE_INTEGER liDueTime;<br />
<br />
liDueTime.QuadPart=-100000000;<br />
<br />
hTimer = CreateWaitableTimer(NULL, TRUE, "WaitableTimer");<br />
if (!hTimer)<br />
{<br />
printf("CreateWaitableTimer failed (%d)\n", GetLastError());<br />
return 1;<br />
}<br />
<br />
printf("Waiting for 10 seconds...\n");<br />
<br />
if (!SetWaitableTimer(hTimer, &liDueTime, 0, NULL, NULL, 0))<br />
{<br />
printf("SetWaitableTimer failed (%d)\n", GetLastError());<br />
return 2;<br />
}<br />
<br />
<br />
if (WaitForSingleObject(hTimer, INFINITE) != WAIT_OBJECT_0)<br />
printf("WaitForSingleObject failed (%d)\n", GetLastError());<br />
else printf("Timer was signaled.\n");<br />
<br />
return 0;<br />
}
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Hi,
I'm writing a small windows application (plain c++ program). Not an MFC application. I want to set a custom icon for that executable. The default icon for exe files is a small window icon. I dont want that. How do i do that?
Also, I'm compiling the code using command line. So, i need the command line flags (if any) to set the application icon.
Thanks in advance,
Surya
|
|
|
|
|
|
if you want to change icon and your application not MFC use WM_SETICON
whitesky
|
|
|
|
|
Hi all,
RegNotifyChangeKeyValue() will notify the caller, if there is any change in the key or its subkey.
Now my question is, How to know which subkey is changed.
I couldnt find and direct method for doing this.
Is there any direct or indirect way, that we can know
which subkey got changed, when the RegNotifyChangeKeyValue() returns.
Thanks for your suggestion.
with regards
|
|
|
|
|
|
|
Nothing is useful at you mentioned above.
|
|
|
|
|
i am new to directx so i got some tutorials
but i have a question :
to rotate any geometry u have to use the matrices function defined by the dx utiliti lib.
i don't what to use those utilitys, can it be done by source only ?
|
|
|
|
|
Yes you can but by doing so what benefit are you going to get.
you can define your own rotation matrix and then multiply it to the dx unit martix.
And many more methods are there. But I suggest to use lib funtions.
Regards
Anil
-- modified at 2:21 Wednesday 31st May, 2006
|
|
|
|
|
See loads of samples here[^]it is very easy to understand
SaRath
"D on't blindly follow rules you read somewhere without verifying that it makes sense for your situation!"
|
|
|
|
|
Hi Friends,
Has any one of you tried setting the compiler options from command line??
If so, please give me step by step procedure for setting options for my VC++ application.
Thanks in advance.
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Hi all
I have seen in MSDN while describing windows function they describe about system queue.
I dont know what events will enter into systems queue. when an entry in the system queue is removed(is it after processing).
how is this system queue different from message queue or is it same
thanks in advance
|
|
|
|
|
System Queue is the Queue that maintains all the Services(Processes) that are running on the system.
where as message queue is specific to a particular Application(Active Application)..
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Sorry for the previous mail.
System Queue has different meaning to Message Queue.
Here is the explanation from MSDN.
Queues that are generated by Message Queuing are referred to as system queues, internal private queues, and outgoing queues.
System queues include the following types of queues:
Queue journals: Queue journals are queues that contain copies of all messages removed from a queue with target journaling enabled.
Computer journals: Computer journals are queues that contain copies of all messages sent from a computer with a request for positive_source journaling.
Dead-letter queues: Dead-letter queues contain messages that were sent from a computer with a request for negative source journaling and could not be delivered. Message Queuing provides a transactional dead-letter queue and a nontransactional dead-letter queue.
Connector queues: Connector queues are used when sending messages to foreign queues.
The computer journal and the dead-letter queues are listed in MMC snap-ins (or the Control Panel applet) in the System Queues folder.
Applications can read the messages in system queues, but cannot address messages to them.
Thanks for u r post. I learnt a lot because of u r post.
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
hi,
How can I use a FlexGrid control while using DLL
Thank You
|
|
|
|