Search:
Type: Posts; User: danperrin
Search:
Search took 0.01 seconds.
-
June 15th, 2005, 05:54 AM
Thanks to all that replied to this question. My apolagies for not being more specific with detail first time round. I am working round the problem at this stage - as there are other ways of...
-
June 14th, 2005, 09:14 AM
Thanks for your reply. There is no exception or any other form of error. ::SendMessage simply returns 0 (zero) and the text buffer is empty. I have not checked GetLastError() yet - will do that - but...
-
June 14th, 2005, 01:39 AM
Can anyone explain why WM_GETTEXT works when using a stack buffer and fails when using a heap buffer. See code samples - this code has been simplified to demonstrate the problem.
//-- this...
-
You have a tough project ahead. The presentation layer of this type of app should not be dialog based. There are many ways to achieve the end result, but I personally would probably use the MFC...
-
Hi - listen carefully - don't re-invent the wheel. It may seem simple enough creating your own installer - but there are many pitfalls and you probably don't want to go there. Unless you have a...
-
Hi - I may be misunderstanding the question, but I think the following two functions might help:
ClientToScreen
ScreenToClient
Screen co-ordinates are relative to the upper left hand
corner of...
-
One last thought - once you have the thread ID, if I can remember correctly, you can change the thread priorety to lower priorety. So enum the threads (and there will probably be a way whereby you...
-
Thats not a bad idea - an extension of that might be to use CreateProcess to start the EXE, then you should have ownership of the thread - which gives you the additional control.
-
The basic idea would be to get the process (and or thread) ID of the EXE that you want to pause. Once you have that - there are various functoins you can use to pause, suspend, terminate threads etc....
-
This has been very interesting reading. Here's the downfall of your plan. Firstly a keyboard hook is event driven - there is no timer polling for activity - so no key presses - no CPU usage. If you...
-
August 8th, 2002, 04:30 AM
Howto delete\remove MDI doc template?
Hi,
Can anyone please assist?
How does one remove /delete a document template from an MDI App.
Eg. CWinApp allows adding templates...
...
-
August 7th, 2002, 07:05 AM
"Instead of using IDB_BITMAP1 , Can i give the path of my bmp file in a string say "C:\\mypic.bmp" in the LoadBitmap() Function?"
Look at the methods of CBitmap. If not, then use LoadImage
-
August 7th, 2002, 06:59 AM
This may not answer your question but take note anyway.
There are MS confirmed bugs with the DHTML edit control. Properties do not get saved (after setting a property the behaviouir remains the...
-
August 7th, 2002, 03:59 AM
Lookup on the following:
ShellExecute(...)
CreateProcess(...)
One or both of these should solve your problem
-
August 7th, 2002, 03:53 AM
There may be other ways, but these two work for me:
1) Use FindWindow() in InitInstance. If the Window is found, then set focus to the new window and abort the current instance. If it is not...
-
August 7th, 2002, 03:43 AM
Hi,
You will need to do some homework on the GDI functions. There is plenty of documentation and samples on this site and MSDN. To get you started, here's some info. There are a number of ways...
-
August 7th, 2002, 03:23 AM
Hi,
Can anyone please assist?
How does one remove /delete a document template from an MDI App.
Eg. CWinApp allows adding templates...
CWinApp::AddDocTemplate(new...
|
Click Here to Expand Forum to Full Width
|