Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
GeneralRe: Wake up my Display Pin
Heath Stewart20-Jul-04 12:46
protectorHeath Stewart20-Jul-04 12:46 
GeneralRe: Wake up my Display Pin
Nick Parker20-Jul-04 12:47
protectorNick Parker20-Jul-04 12:47 
GeneralFrom DLL Hell to Assembly Hell Pin
Sameer Handa20-Jul-04 9:16
Sameer Handa20-Jul-04 9:16 
GeneralRe: From DLL Hell to Assembly Hell Pin
Heath Stewart20-Jul-04 9:28
protectorHeath Stewart20-Jul-04 9:28 
GeneralRe: From DLL Hell to Assembly Hell Pin
Sameer Handa21-Jul-04 4:22
Sameer Handa21-Jul-04 4:22 
GeneralRe: From DLL Hell to Assembly Hell Pin
Heath Stewart21-Jul-04 4:37
protectorHeath Stewart21-Jul-04 4:37 
GeneralWindows Graphics, or ComboBox Question. Pin
DougW4820-Jul-04 9:07
DougW4820-Jul-04 9:07 
GeneralRe: Windows Graphics, or ComboBox Question. Pin
Heath Stewart20-Jul-04 9:12
protectorHeath Stewart20-Jul-04 9:12 
See the ControlPaint.DrawComboButton method in the .NET Framework SDK for one option. Otherwise, you'll need to include bitmaps yourself, either embedding them into a ResX file (using an ImageList in the designer does this for you, which base64-encodes it) or embed them as manifest resources by adding them to your project and changing the build action to "Embedded Resource". You can access these bitmaps (which I use generically for pixel map images) using Assembly.GetManifestResourceStream or some methods on the Image and Bitmap classes allow you to specify a manifest resource from which an Image or Bitmap (derivative of Image) is created.

It's important to understand that most of the Windows Forms controls are not implement in .NET, per se. They encapsulate the Windows Common Controls, so it's the native window classes that are being used and which take care of drawing themselves (for the most part).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Windows Graphics, or ComboBox Question. Pin
DougW4820-Jul-04 10:28
DougW4820-Jul-04 10:28 
GeneralRe: Windows Graphics, or ComboBox Question. Pin
Heath Stewart20-Jul-04 10:35
protectorHeath Stewart20-Jul-04 10:35 
GeneralHelp!!! SHDocVw Events Not Firing Pin
Adam Stirk20-Jul-04 6:06
Adam Stirk20-Jul-04 6:06 
GeneralRe: Help!!! SHDocVw Events Not Firing Pin
The Man from U.N.C.L.E.20-Jul-04 7:10
The Man from U.N.C.L.E.20-Jul-04 7:10 
GeneralRe: Help!!! SHDocVw Events Not Firing Pin
Adam Stirk20-Jul-04 8:11
Adam Stirk20-Jul-04 8:11 
GeneralCookies and HttpWebRequest Pin
Brian Delahunty20-Jul-04 5:13
Brian Delahunty20-Jul-04 5:13 
GeneralRe: Cookies and HttpWebRequest Pin
Heath Stewart20-Jul-04 9:22
protectorHeath Stewart20-Jul-04 9:22 
GeneralSwitching current language Pin
mikker_12320-Jul-04 4:56
mikker_12320-Jul-04 4:56 
GeneralRe: Switching current language Pin
Steven Campbell20-Jul-04 6:01
Steven Campbell20-Jul-04 6:01 
GeneralSMTP MAIL Pin
Ljungman20-Jul-04 2:47
Ljungman20-Jul-04 2:47 
GeneralRe: SMTP MAIL Pin
Heath Stewart20-Jul-04 8:49
protectorHeath Stewart20-Jul-04 8:49 
GeneralAccessing internal help text inside .chm file. Pin
JimmyG1320-Jul-04 1:53
JimmyG1320-Jul-04 1:53 
GeneralRe: Accessing internal help text inside .chm file. Pin
Heath Stewart20-Jul-04 8:53
protectorHeath Stewart20-Jul-04 8:53 
GeneralReflection Problems... Pin
Norman-Timo20-Jul-04 1:40
Norman-Timo20-Jul-04 1:40 
GeneralRe: Reflection Problems... Pin
Nick Parker20-Jul-04 3:13
protectorNick Parker20-Jul-04 3:13 
GeneralCompound Document Pin
Omar Alvi20-Jul-04 0:26
Omar Alvi20-Jul-04 0:26 
GeneralRe: Compound Document Pin
Heath Stewart20-Jul-04 9:08
protectorHeath Stewart20-Jul-04 9:08 

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.