Click here to Skip to main content
15,888,803 members
Home / Discussions / C#
   

C#

 
GeneralRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
evdoxos10-Jul-04 7:23
evdoxos10-Jul-04 7:23 
Questionhow to make Date function Pin
Anonymous9-Jul-04 20:26
Anonymous9-Jul-04 20:26 
AnswerRe: how to make Date function Pin
mav.northwind9-Jul-04 23:36
mav.northwind9-Jul-04 23:36 
GeneralRe: how to make Date function Pin
Werdna10-Jul-04 11:13
Werdna10-Jul-04 11:13 
GeneralIs it possible to serialize an assembly Pin
joelwwk9-Jul-04 18:26
joelwwk9-Jul-04 18:26 
GeneralRe: Is it possible to serialize an assembly Pin
Robert Rohde10-Jul-04 1:51
Robert Rohde10-Jul-04 1:51 
GeneralRe: Is it possible to serialize an assembly Pin
Nick Parker10-Jul-04 18:14
protectorNick Parker10-Jul-04 18:14 
GeneralChild Control Painting problems Pin
Jon_Slaughter9-Jul-04 17:15
Jon_Slaughter9-Jul-04 17:15 
I created a thread a little bit ago that has some code that demonstrates a problem that I have. Basicaly I'm trying to do double buffering and I "trick" windows.forms into painting the control onto a buffer, the problem is, is it also paints a black rectangle where the control is(I know it is also painting my control because I can scale the window and the control will go while the black box doesn't)... I also know it is the parent that is doing this and not the control since I have completely disabled the control's painting functions and still have the problem... It seems that either the form is excluding the region from being updated for painting by the form's OnPaint/OnPaintBackground("no need to paint behind a control") and painting it black, or that its trying to paint the control but there is some kinda "bug"...

I've overriden the forms wndproc and took out the WM_PAINT and it doesn't draw the black box, but does not render that area at all(which makes me believe that the form has excluded the controls region from being painted at all, I put painting the background on a timer, so the background is showing up... just not anything where that square is...)...

since I don't know much about how windows handles the control, I'm wondering if someone can help me out... I'm sure theres somethere where I can tell windows not to exclude region behind the controls from being updated... not sure if its in my PaintEventArgs or somewhere in the WinProc...

Anyways, thanks for any advice/help...


BTW, I do not have WS_CLIPCHILDREN set in my styles(override CreateParams)... which would seem to be the cause if I did.
Questionhow to catch key combinations? Pin
BrownJacket9-Jul-04 15:34
BrownJacket9-Jul-04 15:34 
AnswerRe: how to catch key combinations? Pin
mav.northwind9-Jul-04 23:33
mav.northwind9-Jul-04 23:33 
GeneralRe: how to catch key combinations? Pin
BrownJacket10-Jul-04 1:18
BrownJacket10-Jul-04 1:18 
AnswerRe: how to catch key combinations? Pin
Gary Thom12-Jul-04 3:59
Gary Thom12-Jul-04 3:59 
GeneralProblems with resources Pin
ricny0469-Jul-04 11:45
ricny0469-Jul-04 11:45 
QuestionTwo console windows? Pin
hammackj9-Jul-04 11:13
hammackj9-Jul-04 11:13 
GeneralPassing Values Pin
Dylan van Heerden9-Jul-04 9:42
Dylan van Heerden9-Jul-04 9:42 
GeneralRe: Passing Values Pin
Dave Kreskowiak9-Jul-04 9:48
mveDave Kreskowiak9-Jul-04 9:48 
GeneralRe: Passing Values Pin
Anonymous9-Jul-04 22:54
Anonymous9-Jul-04 22:54 
GeneralRe: Passing Values Pin
Robert Rohde10-Jul-04 1:57
Robert Rohde10-Jul-04 1:57 
GeneralRe: Passing Values Pin
Colin Angus Mackay9-Jul-04 10:06
Colin Angus Mackay9-Jul-04 10:06 
GeneralRe: Passing Values Pin
Dylan van Heerden9-Jul-04 22:57
Dylan van Heerden9-Jul-04 22:57 
GeneralRe: Passing Values Pin
Michael P Butler10-Jul-04 0:28
Michael P Butler10-Jul-04 0:28 
GeneralIE Browser and IHTMLDocument2 Pin
brian hanf9-Jul-04 9:18
brian hanf9-Jul-04 9:18 
GeneralDisable windows shortcuts!?! Pin
QzRz9-Jul-04 7:46
QzRz9-Jul-04 7:46 
GeneralRe: Disable windows shortcuts!?! Pin
Dave Kreskowiak9-Jul-04 8:47
mveDave Kreskowiak9-Jul-04 8:47 
GeneralRe: Disable windows shortcuts!?! Pin
QzRz9-Jul-04 9:04
QzRz9-Jul-04 9:04 

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.