Click here to Skip to main content
16,009,407 members
Home / Discussions / C#
   

C#

 
QuestionCan you use resources to embed a wav? Pin
jtmtv182-Mar-03 13:48
jtmtv182-Mar-03 13:48 
AnswerRe: Can you use resources to embed a wav? Pin
leppie3-Mar-03 8:02
leppie3-Mar-03 8:02 
GeneralRe: Can you use resources to embed a wav? Pin
jtmtv183-Mar-03 8:32
jtmtv183-Mar-03 8:32 
GeneralRe: Can you use resources to embed a wav? Pin
leppie4-Mar-03 6:57
leppie4-Mar-03 6:57 
GeneralAeru IRC is looking for developpers and artist Pin
Shock The Dark Mage2-Mar-03 12:46
Shock The Dark Mage2-Mar-03 12:46 
GeneralRe: Aeru IRC is looking for developpers and artist Pin
jtmtv183-Mar-03 19:17
jtmtv183-Mar-03 19:17 
GeneralRe: Aeru IRC is looking for developpers and artist Pin
Shock The Dark Mage5-Mar-03 15:47
Shock The Dark Mage5-Mar-03 15:47 
GeneralFlattening The TreeView... Pin
LokiSD2-Mar-03 10:26
LokiSD2-Mar-03 10:26 
I am trying to achieve the flat treeview look of VS.NET, (IE, a SystemColors.ControlDark colored FixedSingle border).

And this does appear to be massively harder than it first seemed. The border AND the scrollbars on the treeview are part of Non-Client area of the control. So, I first thought that I might subclass the sucker, paint the border in the NC area of the control, and then throw away WM_NCPAINT, cant do that, because the scrollbar doesn't paint. So, I am left with passing it back to the DefWndProc, and then painting over the border, causing massive flicker.

I also tried to update the HRGN in WM_NCPAINT and it wouldnt have any of it.

Has anyone successfully painted their own border on the TreeView, ListBox, TextBox or RichTextBox ??
Maybe there is an easier way I have overlooked? Any help would be greatly appreciated.
GeneralRe: Flattening The TreeView... Pin
LokiSD3-Mar-03 7:42
LokiSD3-Mar-03 7:42 
GeneralRe: Flattening The TreeView... Pin
Furty4-Mar-03 1:49
Furty4-Mar-03 1:49 
GeneralRe: Flattening The TreeView... Pin
LokiSD5-Mar-03 6:51
LokiSD5-Mar-03 6:51 
GeneralRe: Flattening The TreeView... Pin
Furty5-Mar-03 12:06
Furty5-Mar-03 12:06 
GeneralRe: Flattening The TreeView... Pin
Furty5-Mar-03 13:23
Furty5-Mar-03 13:23 
GeneralSnapshot Pin
Calamitous2-Mar-03 3:39
Calamitous2-Mar-03 3:39 
GeneralRe: Snapshot Pin
Jon Newman2-Mar-03 4:57
Jon Newman2-Mar-03 4:57 
GeneralProblem with Windows Installer Pin
Sassan Komeili Zadeh2-Mar-03 3:03
Sassan Komeili Zadeh2-Mar-03 3:03 
GeneralRe: Problem with Windows Installer Pin
Jon Newman2-Mar-03 4:27
Jon Newman2-Mar-03 4:27 
GeneralRe: Problem with Windows Installer Pin
Sassan Komeili Zadeh3-Mar-03 20:22
Sassan Komeili Zadeh3-Mar-03 20:22 
GeneralRe: Problem with Windows Installer Pin
Paul Riley2-Mar-03 5:15
Paul Riley2-Mar-03 5:15 
GeneralRe: Problem with Windows Installer Pin
Sassan Komeili Zadeh3-Mar-03 20:27
Sassan Komeili Zadeh3-Mar-03 20:27 
GeneralRe: Problem with Windows Installer Pin
Paul Riley4-Mar-03 3:44
Paul Riley4-Mar-03 3:44 
Generalexpose delegate in property grid Pin
Roger Alsing2-Mar-03 0:12
Roger Alsing2-Mar-03 0:12 
GeneralRe: expose delegate in property grid Pin
leppie2-Mar-03 1:49
leppie2-Mar-03 1:49 
GeneralRe: expose delegate in property grid Pin
Roger Alsing2-Mar-03 4:07
Roger Alsing2-Mar-03 4:07 
GeneralRe: expose delegate in property grid Pin
leppie2-Mar-03 11:37
leppie2-Mar-03 11:37 

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.