Click here to Skip to main content
15,907,395 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: resizing form with a RTB inside Pin
Dave Kreskowiak3-Aug-11 18:39
mveDave Kreskowiak3-Aug-11 18:39 
GeneralRe: resizing form with a RTB inside Pin
hang_em4-Aug-11 3:24
hang_em4-Aug-11 3:24 
GeneralRe: resizing form with a RTB inside Pin
Dave Kreskowiak4-Aug-11 13:55
mveDave Kreskowiak4-Aug-11 13:55 
QuestionCallbackOnCollectedDelegate was detected with LowLevelMouserProc Pin
Member 78319591-Aug-11 11:46
Member 78319591-Aug-11 11:46 
QuestionFont ComboBox add to Toolstrip Pin
nyt197231-Jul-11 3:13
professionalnyt197231-Jul-11 3:13 
AnswerRe: Font ComboBox add to Toolstrip Pin
Dave Kreskowiak31-Jul-11 4:24
mveDave Kreskowiak31-Jul-11 4:24 
GeneralRe: Font ComboBox add to Toolstrip Pin
nyt197231-Jul-11 18:36
professionalnyt197231-Jul-11 18:36 
GeneralRe: Font ComboBox add to Toolstrip Pin
Dave Kreskowiak1-Aug-11 3:49
mveDave Kreskowiak1-Aug-11 3:49 
OK, this was a bit harder than expected.

Basically, you have to use ToolStripControlHost[^] and wrap your custom combo (put the original Inherits line back in!). Then you can create an instance of the wrapped combo and add it to the ToolStrip.

You will NOT be able to use the designed to create the control on the form unless you tag your control with the ToolStripItemDesignerAvailability attribute.

I highly recommend reading the links I gave you, several times, and create a test project before you go screwing around in your real project. The concepts are a bit confusing.

GeneralRe: Font ComboBox add to Toolstrip Pin
nyt19722-Aug-11 1:42
professionalnyt19722-Aug-11 1:42 
GeneralRe: Font ComboBox add to Toolstrip Pin
Dave Kreskowiak2-Aug-11 3:47
mveDave Kreskowiak2-Aug-11 3:47 
GeneralRe: Font ComboBox add to Toolstrip Pin
nyt19722-Aug-11 21:21
professionalnyt19722-Aug-11 21:21 
QuestionConnection string in with sqlserver 2005 Pin
nazimghori31-Jul-11 0:30
nazimghori31-Jul-11 0:30 
AnswerRe: Connection string in with sqlserver 2005 Pin
Shameel31-Jul-11 0:53
professionalShameel31-Jul-11 0:53 
AnswerRe: Connection string in with sqlserver 2005 Pin
Eddy Vluggen31-Jul-11 2:56
professionalEddy Vluggen31-Jul-11 2:56 
AnswerRe: Connection string in with sqlserver 2005 Pin
Dave Kreskowiak31-Jul-11 4:18
mveDave Kreskowiak31-Jul-11 4:18 
GeneralRe: Connection string in with sqlserver 2005 [modified] Pin
nazimghori31-Jul-11 6:19
nazimghori31-Jul-11 6:19 
GeneralRe: Connection string in with sqlserver 2005 Pin
Dave Kreskowiak31-Jul-11 13:57
mveDave Kreskowiak31-Jul-11 13:57 
AnswerRe: Connection string in with sqlserver 2005 Pin
thatraja31-Jul-11 6:05
professionalthatraja31-Jul-11 6:05 
GeneralRe: Connection string in with sqlserver 2005 Pin
Shameel31-Jul-11 7:30
professionalShameel31-Jul-11 7:30 
GeneralRe: Connection string in with sqlserver 2005 Pin
thatraja31-Jul-11 15:37
professionalthatraja31-Jul-11 15:37 
QuestionUse MS Windows Theme Pin
ivo7530-Jul-11 21:14
ivo7530-Jul-11 21:14 
AnswerRe: Use MS Windows Theme Pin
Dalek Dave23-Aug-11 11:27
professionalDalek Dave23-Aug-11 11:27 
QuestionGraph on Windows Forms (VB) Pin
geekgautam29-Jul-11 22:34
geekgautam29-Jul-11 22:34 
AnswerRe: Graph on Windows Forms (VB) Pin
DaveAuld30-Jul-11 0:41
professionalDaveAuld30-Jul-11 0:41 
AnswerRe: Graph on Windows Forms (VB) Pin
Carmelo La Monica30-Jul-11 2:12
professionalCarmelo La Monica30-Jul-11 2:12 

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.