Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: How to slide a panel without flickering Pin
AFSEKI4-Mar-06 9:36
AFSEKI4-Mar-06 9:36 
GeneralRe: How to slide a panel without flickering Pin
SJ_Phoenix4-Mar-06 10:09
SJ_Phoenix4-Mar-06 10:09 
GeneralRe: How to slide a panel without flickering Pin
Thomas Stockwell4-Mar-06 17:25
professionalThomas Stockwell4-Mar-06 17:25 
AnswerRe: How to slide a panel without flickering Pin
AFSEKI5-Mar-06 4:44
AFSEKI5-Mar-06 4:44 
GeneralRe: How to slide a panel without flickering Pin
AFSEKI5-Mar-06 4:47
AFSEKI5-Mar-06 4:47 
GeneralRe: How to slide a panel without flickering Pin
SJ_Phoenix5-Mar-06 10:36
SJ_Phoenix5-Mar-06 10:36 
QuestionClient-Activated Object Pin
Marcin-Dz4-Mar-06 5:37
Marcin-Dz4-Mar-06 5:37 
Questionhow to turn off system error when i add daplicated ID unique? Pin
superdragon3-Mar-06 23:54
superdragon3-Mar-06 23:54 
AnswerRe: how to turn off system error when i add daplicated ID unique? Pin
Thomas Stockwell4-Mar-06 17:29
professionalThomas Stockwell4-Mar-06 17:29 
QuestionHow to pass the parameters for a dll functiion that is imported in dotnet environment. Pin
varmag3-Mar-06 22:31
varmag3-Mar-06 22:31 
AnswerRe: How to pass the parameters for a dll functiion that is imported in dotnet environment. Pin
AFSEKI5-Mar-06 4:52
AFSEKI5-Mar-06 4:52 
QuestionProcess id=0x748 (1864), Thread id = ... error! Pin
eyej3-Mar-06 14:58
eyej3-Mar-06 14:58 
GeneralRe: Process id=0x748 (1864), Thread id = ... error! Pin
Guffa3-Mar-06 21:39
Guffa3-Mar-06 21:39 

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.