Click here to Skip to main content
15,905,607 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting size of a data structure Pin
LighthouseJ5-Mar-06 4:02
LighthouseJ5-Mar-06 4:02 
GeneralRe: Getting size of a data structure Pin
S. Senthil Kumar5-Mar-06 8:12
S. Senthil Kumar5-Mar-06 8:12 
GeneralRe: Getting size of a data structure Pin
LighthouseJ5-Mar-06 8:19
LighthouseJ5-Mar-06 8:19 
QuestionFile Transfer Pin
unrealed4-Mar-06 14:30
unrealed4-Mar-06 14:30 
GeneralRe: File Transfer Pin
LighthouseJ4-Mar-06 17:16
LighthouseJ4-Mar-06 17:16 
GeneralRe: File Transfer Pin
unrealed5-Mar-06 4:14
unrealed5-Mar-06 4:14 
GeneralRe: File Transfer Pin
unrealed5-Mar-06 5:31
unrealed5-Mar-06 5:31 
GeneralRe: File Transfer Pin
LighthouseJ5-Mar-06 5:52
LighthouseJ5-Mar-06 5:52 
GeneralRe: File Transfer Pin
unrealed5-Mar-06 10:33
unrealed5-Mar-06 10:33 
Questionimporting DLL from SQL, Possible ? Pin
emran8344-Mar-06 13:39
emran8344-Mar-06 13:39 
AnswerRe: importing DLL from SQL, Possible ? Pin
Stanciu Vlad4-Mar-06 21:52
Stanciu Vlad4-Mar-06 21:52 
QuestionHow to interact with a SysTreeView in another application? Pin
luddet4-Mar-06 13:06
luddet4-Mar-06 13:06 
Questionscroll an image Pin
Susuko4-Mar-06 12:31
Susuko4-Mar-06 12:31 
AnswerRe: scroll an image Pin
AFSEKI5-Mar-06 5:01
AFSEKI5-Mar-06 5:01 
QuestionProcess List Pin
Sean894-Mar-06 12:15
Sean894-Mar-06 12:15 
AnswerRe: Process List Pin
Thomas Stockwell4-Mar-06 17:21
professionalThomas Stockwell4-Mar-06 17:21 
QuestionFrom listBox to textBox Pin
CodeItWell4-Mar-06 11:39
CodeItWell4-Mar-06 11:39 
AnswerRe: From listBox to textBox Pin
Paul Conrad4-Mar-06 12:36
professionalPaul Conrad4-Mar-06 12:36 
GeneralRe: From listBox to textBox Pin
Paul Conrad4-Mar-06 12:46
professionalPaul Conrad4-Mar-06 12:46 
QuestionDesign Time Events? Pin
cnich234-Mar-06 7:48
cnich234-Mar-06 7:48 
AnswerRe: Design Time Events? Pin
Thomas Stockwell4-Mar-06 17:16
professionalThomas Stockwell4-Mar-06 17:16 
You would have to implement a Control Designer. ParentControlDesigner if I am correct.

Here are basic steps:
1) Create an inherited class of a ParentControlDesigner, or the designer that is best suited for you. For the purpose of instruction the inherited Designer is called TabDesigner.
2) For the control (Tab Control in this case) you will add the Desinger attribute to the control class with reference to TabDesigner
3) In TabDesigner you will override the WndProc function so that you can get a handle on all events to the TabControl. You will add any code you will like to change tabs and handle click events by processing WM_MOUSEMOVE and WM_RBUTTONCLICK (may not be exact constant names, check with API-Viewer (google it))
4) To add any VS menu items to your control during designer-time you will override the Verb collection property. In the initialization of the TabDesigner you will create a new Verb Collection and return the new verb collection in the Verb property
4) Test your control with the new designer during Design-Time

I would go into more detail with this information and include information on VS smart tags, but that would take longer. If you have any questions just ask.

Regards,
1tg46

P.S. This sounds like a good article that I could write, so check within the next month at this site and I may have posted an article on this subject.

Check out 3D Game Development with Dark Basic Professional [^]programming.
GeneralRe: Design Time Events? Pin
cnich236-Mar-06 5:03
cnich236-Mar-06 5:03 
GeneralRe: Design Time Events? Pin
Thomas Stockwell7-Mar-06 13:26
professionalThomas Stockwell7-Mar-06 13:26 
AnswerRe: Design Time Events? Pin
Thomas Stockwell22-Mar-06 12:21
professionalThomas Stockwell22-Mar-06 12:21 
QuestionHow to slide a panel without flickering Pin
SJ_Phoenix4-Mar-06 7:48
SJ_Phoenix4-Mar-06 7:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.