Skinframework with hook dialogs |
Post Reply |
Author | |
youka
Groupie Joined: 20 March 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 28 May 2007 at 10:29am |
Dears ,
I tested skinframework with a hook messagebox, but it can't work.
the code sample can be found here:
http://vbnet.mvps.org/index.html?code/hooks/messageboxhooktimer.htm
I use SetWindowsHookEx(WH_CBT, _
AddressOf MsgBoxHookProc, _ hInstance, hThreadId) to hook to a msgbox so that i can change the button captions.
But even if I called CallNextHookEx(MSGHOOK.hHook, uMsg, wParam, ByVal lParam) The skin still won't be applied to the messagebox dialog.
Any one could help will be greate appreciated:)
Thanks.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
this code has bug - it doesn't call CallnextHookEx.
Attach project to show how you use it/what call.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
youka
Groupie Joined: 20 March 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
thanks for your reply. I have give up using CBT hook with skinframework. it doen't work even if i wrote nothing in the hook procedure but "CallNextHookEx(hHook, uMsg, WPARAM, LPARAM)".
Now i switch to WH_CALLWNDPROC, skinframework behavior now is OK.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
ok :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |