March 31st, 2009 08:37 AM
That's the way I will follow. But I was hoping for sth more tricky ;)
Thanks for help.
/J
March 29th, 2009 03:55 PM
OK, good to know that.
BTW maybe you know why, when I'm creating the listbox from a scratch the size of item fonts are bigger that the ones used in original listbox.
Where or how change the size...
March 27th, 2009 09:41 AM
Hi,
I'm trying to change the sorting/not sorting style of listbox in runtime.
Code example
HWND hListItemsList = GetDlgItem( hDlg, ID_DLG_ITEMLIST );
DWORD style =...
January 29th, 2009 01:20 PM
OK. I will look for that book. Thanks!
/m13
January 29th, 2009 07:13 AM
The problem was that I was unable to understand why some other loads my .dll.
But I have think it over and now I do understand this way:
*) I register my hookProc in system and let it run.
*)...
January 29th, 2009 02:36 AM
Try this one:
http://www.codeguru.com/forum/showthread.php?t=469549
January 29th, 2009 02:33 AM
Ok.
Now it works with this #pragma's. I don't know how and why this works. But I will investigate this. Any way thanks a lot.
January 28th, 2009 02:42 AM
So I did some test and:
On win xp32 with 32bit .dll my application works in 50%:
I'm able to set hook, get the message and prevent other application from receiving it. But after loosing focus my...
January 27th, 2009 12:59 PM
Hi thanks for reply.
Is there a way to hook both 32 and 64 bit? Should I implement and call SetWindowsHook from 32 and 64 bit build dll?
gModule is taken from dllMain whe .dll is being loaded....
January 27th, 2009 06:58 AM
Are you sure that yours answer help me somehow?
Maybe it is a mistake when ctrl+c/v but like I said it works when windows has the focus. So looks like I compiled my code before and simply paste...
January 26th, 2009 04:17 PM
Good evening :)
I've search a lot of forums but did not found any answer to my question. So here I post it.
I'm trying to set hook to keyboard to receive all multimedia keys notification, for...
April 17th, 2008 01:17 AM
Hi, IMHO thats not to bad as it looks ;)
You could try also something similiar:
while(true)
try{
handle.execute("INSERT.....");
break;
}
catch( DB_Exc& e )
April 14th, 2008 01:09 AM
Next delete on second pointer should caous an exception. That why people discover smart pointers or auto pointers.
January 24th, 2008 02:32 AM
0xcdcdcdc8 <<--- im most cases this is an uninitialized variable memory pattern!
January 5th, 2008 12:06 PM
Quote from MSDN2k7 april:
Check for proper STYLE value in msdn.
December 5th, 2007 05:10 AM
And a little code
void describePartitions()
{
TCHAR drive[128] = TEXT("");
TCHAR letter = TEXT('');
TCHAR _out[256] = TEXT("");
DWORD _outSize = 256;
BOOL result = false;