Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Skinframework with hook dialogs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skinframework with hook dialogs

 Post Reply Post Reply
Author
Message
youka View Drop Down
Groupie
Groupie


Joined: 20 March 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote youka Quote  Post ReplyReply Direct Link To This Post Topic: Skinframework with hook dialogs
    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:
 
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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2007 at 3:27pm
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
Back to Top
youka View Drop Down
Groupie
Groupie


Joined: 20 March 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote youka Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 2007 at 1:18am
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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 2007 at 4:29am
ok :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.152 seconds.