Click here to Skip to main content
15,919,500 members
Home / Discussions / C#
   

C#

 
GeneralI need a horizontal tree control Pin
MtnBiknGuy19-Oct-03 4:39
MtnBiknGuy19-Oct-03 4:39 
GeneralRe: I need a horizontal tree control Pin
Heath Stewart19-Oct-03 5:41
protectorHeath Stewart19-Oct-03 5:41 
GeneralRe: I need a horizontal tree control Pin
MtnBiknGuy19-Oct-03 10:14
MtnBiknGuy19-Oct-03 10:14 
GeneralRe: I need a horizontal tree control Pin
MtnBiknGuy19-Oct-03 10:33
MtnBiknGuy19-Oct-03 10:33 
QuestionHow to format text in a winform datagrid column Pin
Anonymous19-Oct-03 3:26
Anonymous19-Oct-03 3:26 
AnswerRe: How to format text in a winform datagrid column Pin
Mike Ellison19-Oct-03 8:54
Mike Ellison19-Oct-03 8:54 
GeneralE_NOINTERFACE Pin
Norman Fung18-Oct-03 19:30
Norman Fung18-Oct-03 19:30 
GeneralTransparent window within another transparent window Pin
David Forrester18-Oct-03 17:27
David Forrester18-Oct-03 17:27 
Hi, I'm writing a custom scroll bar control. My custom scroll bar control uses transparency, and has two button children that also have transparency. The background of the main window beneath my button located at (0,0) on the scroll bar and the background beneath the main scroll bar are fine. For some reason however, the background of the button at (0,30) in the scroll bar (the down button) has the main window background behind it offset by 30 pixels downward! It seems that a transparent window within a transparent window will have the shown background offset by its position within the parent transparent window.

I think I have located the source of this problem.. In the OnPaint method that is called to draw the background behind the transparent scroll bar which is behind the transparent button, somehow the e.Graphics.Transform.OffsetY is 0 when in the corresponding OnPaintBackground that was called just before it the e.Graphics.Transform.OffsetY was -30! I believe this is why my image is being offset, but I don't know why it's happening?

I know it's a complex problem, but can anyone help me? I've been working at it for about 6 hours now!

Thanks!
GeneralRe: Transparent window within another transparent window Pin
David Forrester18-Oct-03 22:39
David Forrester18-Oct-03 22:39 
QuestionCAN SOMEBODY PLEASEEEEEE... Pin
fadee18-Oct-03 8:53
fadee18-Oct-03 8:53 
AnswerRe: CAN SOMEBODY PLEASEEEEEE... Pin
Arjan Einbu18-Oct-03 10:04
Arjan Einbu18-Oct-03 10:04 
GeneralRe: CAN SOMEBODY PLEASEEEEEE... Pin
fadee18-Oct-03 20:55
fadee18-Oct-03 20:55 
GeneralRe: CAN SOMEBODY PLEASEEEEEE... Pin
eggie55-Dec-03 14:30
eggie55-Dec-03 14:30 
GeneralSmall IO help needed... Pin
eggie518-Oct-03 7:27
eggie518-Oct-03 7:27 
GeneralRe: Small IO help needed... Pin
je_gonzalez18-Oct-03 10:16
je_gonzalez18-Oct-03 10:16 
GeneralRe: Small IO help needed... Pin
eggie518-Oct-03 17:56
eggie518-Oct-03 17:56 
GeneralRe: Small IO help needed... Pin
eggie518-Oct-03 11:47
eggie518-Oct-03 11:47 
GeneralRe: Small IO help needed... Pin
je_gonzalez18-Oct-03 12:44
je_gonzalez18-Oct-03 12:44 
GeneralRe: Small IO help needed... Pin
eggie518-Oct-03 14:39
eggie518-Oct-03 14:39 
GeneralRe: Small IO help needed... Pin
je_gonzalez18-Oct-03 15:27
je_gonzalez18-Oct-03 15:27 
GeneralRe: Small IO help needed... Pin
eggie518-Oct-03 17:07
eggie518-Oct-03 17:07 
Generalopen external application Pin
JockerSoft18-Oct-03 6:50
JockerSoft18-Oct-03 6:50 
GeneralRe: open external application Pin
eggie518-Oct-03 6:57
eggie518-Oct-03 6:57 
GeneralRe: open external application Pin
Heath Stewart18-Oct-03 16:12
protectorHeath Stewart18-Oct-03 16:12 
GeneralRe: open external application Pin
JockerSoft18-Oct-03 23:43
JockerSoft18-Oct-03 23:43 

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.