Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Usercontrol on Tabcontrol
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Usercontrol on Tabcontrol

 Post Reply Post Reply
Author
Message
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Topic: Usercontrol on Tabcontrol
    Posted: 06 July 2006 at 12:36am
hi! i wonder if anyone from here could possibly teach me how to attach a usercontrol on the tabcontrol.  i am not so familiar with the usercontrol thats why i am really confused. i tried it using tabcontrol.insertitem but unfortunately i cannot find the hwnd property of the usercontrol.

hope somebody here could help me out. thanks a lot!
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: 06 July 2006 at 8:43am
Hello,
Just add in code:
 
Property Get hWnd() As Long
    hWnd = UserControl.hWnd
End Property
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Posted: 06 July 2006 at 8:03pm
thanks oleg!
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.109 seconds.