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

C#

 
AnswerRe: running app from network share Pin
Bernhard Hiller6-Nov-11 20:17
Bernhard Hiller6-Nov-11 20:17 
QuestionSet Image to Button Pin
KIDYA4-Nov-11 21:51
KIDYA4-Nov-11 21:51 
AnswerRe: Set Image to Button Pin
OriginalGriff4-Nov-11 22:16
mveOriginalGriff4-Nov-11 22:16 
GeneraloRe: Set Image to Button Pin
KIDYA4-Nov-11 23:32
KIDYA4-Nov-11 23:32 
GeneralRe: oRe: Set Image to Button Pin
OriginalGriff4-Nov-11 23:49
mveOriginalGriff4-Nov-11 23:49 
AnswerRe: Set Image to Button Pin
RaviRanjanKr5-Nov-11 5:32
professionalRaviRanjanKr5-Nov-11 5:32 
AnswerRe: Set Image to Button Pin
Mark Salsbery5-Nov-11 5:56
Mark Salsbery5-Nov-11 5:56 
QuestionWinForms Owner-Draw ComboBox Not Displaying Correctly Pin
Matt U.4-Nov-11 9:34
Matt U.4-Nov-11 9:34 
I have a custom ComboBox control that I am working on. I do all of the painting myself. When the DropDownStyle is "DropDownList", meaning there is no TextBox area, it displays perfectly. However, when in "Simple" or "DropDown" mode, the TextBox area has a black area under it about 6-8 pixels tall and the font of the TextBox is bold. Even if I take out ALL of my code in OnPaint and I leave "base.OnPaint" it does this.

If I remove "AllPaintingInWmPaint" and "UserPaint" from the call to "this.SetStyle" for the control, it displays correctly. Except the ComboBox itself is drawn with the Windows default. Only the drop-down items are painted with my custom drawing. How can I style the TextBox area of the ComboBox?
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.

AnswerRe: WinForms Owner-Draw ComboBox Not Displaying Correctly Pin
Eddy Vluggen5-Nov-11 15:15
professionalEddy Vluggen5-Nov-11 15:15 
GeneralRe: WinForms Owner-Draw ComboBox Not Displaying Correctly Pin
Matt U.5-Nov-11 16:31
Matt U.5-Nov-11 16:31 
QuestionIs there a tool to keep track of user objects consumed by UI controls for a process ? Pin
Member 83746244-Nov-11 2:03
Member 83746244-Nov-11 2:03 
AnswerRe: Is there a tool to keep track of user objects consumed by UI controls for a process ? Pin
Pete O'Hanlon4-Nov-11 2:06
mvePete O'Hanlon4-Nov-11 2:06 
GeneralRe: Is there a tool to keep track of user objects consumed by UI controls for a process ? Pin
Nish Nishant4-Nov-11 4:31
sitebuilderNish Nishant4-Nov-11 4:31 
GeneralRe: Is there a tool to keep track of user objects consumed by UI controls for a process ? Pin
Richard MacCutchan4-Nov-11 22:18
mveRichard MacCutchan4-Nov-11 22:18 
Questioninserting image into a table at runtime Pin
rahul honey3-Nov-11 22:03
rahul honey3-Nov-11 22:03 
AnswerRe: inserting image into a table at runtime Pin
Pete O'Hanlon3-Nov-11 22:10
mvePete O'Hanlon3-Nov-11 22:10 
GeneralRe: inserting image into a table at runtime Pin
moxwose3-Nov-11 22:34
moxwose3-Nov-11 22:34 
GeneralRe: inserting image into a table at runtime Pin
rahul honey3-Nov-11 22:59
rahul honey3-Nov-11 22:59 
GeneralRe: inserting image into a table at runtime Pin
Pete O'Hanlon3-Nov-11 23:29
mvePete O'Hanlon3-Nov-11 23:29 
GeneralRe: inserting image into a table at runtime Pin
rahul honey4-Nov-11 0:59
rahul honey4-Nov-11 0:59 
GeneralRe: inserting image into a table at runtime Pin
Pete O'Hanlon4-Nov-11 1:24
mvePete O'Hanlon4-Nov-11 1:24 
GeneralRe: inserting image into a table at runtime Pin
rahul honey4-Nov-11 1:40
rahul honey4-Nov-11 1:40 
GeneralRe: inserting image into a table at runtime Pin
Pete O'Hanlon4-Nov-11 2:04
mvePete O'Hanlon4-Nov-11 2:04 
GeneralRe: inserting image into a table at runtime Pin
rahul honey4-Nov-11 2:16
rahul honey4-Nov-11 2:16 
AnswerRe: inserting image into a table at runtime Pin
Luc Pattyn4-Nov-11 2:25
sitebuilderLuc Pattyn4-Nov-11 2:25 

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.