|
Thanks for your replies friends.
I used like
<br />
SHORT LButtonDown;<br />
LButtonDown=GetKeyState(VK_LBUTTON);<br />
<br />
if(LButtonDown & 0x8000)<br />
{<br />
...code here<br />
}<br />
It works.Thanks a lot.
|
|
|
|
|
Im not sure see here[^] and here[^] does any help?
|
|
|
|
|
Hi,
I am copying data from a char array to a TCHAR array. In this case first byte of the TCHAR array element is same as char array byte ,but the second byte of the tchar array is FF sometimes instead of 00 for japanese character set.
because of this I am not able to display japanese characters in web page when my system locale is enlish(us)
Surendra Vishwkarma
|
|
|
|
|
1. Please ensure whether you have installed language packs.
2. Make us to understand your situation by providing some code snippets.
Thanks a lot
|
|
|
|
|
Did you want to make multilanguage program?
|
|
|
|
|
hello,,
Can Any one tell me ,howcan i load bitmap( from CFileDialog) in Runtime.
Thanku.
|
|
|
|
|
|
Thanks!!!!! i got the solution
|
|
|
|
|
Or you can use of CImage class for it and other formats.
|
|
|
|
|
Hello All
I want to develop addon for Mozila Firefox browser.
Is there any body who can give me idea to do so?
Thanks in advance
Manish Patel.
B.E. - Information Technology.
|
|
|
|
|
|
Refer this article[^]
Use the sample for a better understanding
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Did you search on the Net?
|
|
|
|
|
Hi all,
I want to make a application in which when i click on my exe some files get copied to a specified path and after coping those file one of those files get executed. But i don't want any dialog box to be displayed or anything else to be displayed....
How an i do this???
Thanks in advance
|
|
|
|
|
|
Create a hidden window.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
You can pass the names of the files and the path [where you want to copy the files to] as arguments to your application and then use ShellExecute to execute the file you want to. See for how you can use command line arguments.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Just make a straight Win32 application and don't show a dialog or window.
Steve
|
|
|
|
|
neha.agarwal27 wrote: But i don't want any dialog box to be displayed or anything else to be displayed....
Copying files does not cause any UI components to be displayed.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
You can use of a batch for run that exe file and also you can make a hidden dialog with ShowWindow(SW_HIDE).
|
|
|
|
|
Hi Folks,
Can any one tell me how to divide the Rich Edit control 2.0 into panes.
Please also help in adding break points on mouse click event.
Thanks in Advance..
Suhi
|
|
|
|
|
suhi wrote: Can any one tell me how to divide the Rich Edit control 2.0 into panes.
It's not possible that I know of. What exactly are you trying to do?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello everyone,
1.
For message pump code for COM STA, my question is, we just need to copy and past the following code to STA owner thread, no need to implement any functions to handle msg (e.g. hidden window message handler)?
(I think no need and I think COM Runtime will plug-in a message handler for the hidden window, to process the msg and call related function automatically?)
MSG msg;
while (GetMessage (&msg, 0, 0, 0))
DispatchMessage (&msg);
2.
If all the message pump code are common, why not COM automatically generates the code for all STA? Because some STA has the requirement of not handling in-coming calls from other apartment?
thanks in advance,
George
|
|
|
|
|
Messages are are dispatched to the target window in the call to DispatchMessage . As for the question of why you have to explictly code the pump, it's a matter of:
1. When you want the pump to run.
2. The form of the message pump. You may want to have a call to TranslateMessage for example. Also, frameworks like MFC add extra features such as idle time processing to their message pumps.
Steve
|
|
|
|
|
Thanks Steve,
Do you also think my below statements are correct?
--------------------
... I think COM Runtime will plug-in a message handler for the hidden
window, to process the msg and call related function automatically? So, the
target called function will receive expected function parameter other than
msg.
--------------------
regards,
George
|
|
|
|