Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralSerial Communication Problems... Pin
Randy2410-Jul-04 5:17
Randy2410-Jul-04 5:17 
GeneralRe: Serial Communication Problems... Pin
Mike Dimmick10-Jul-04 8:39
Mike Dimmick10-Jul-04 8:39 
GeneralRe: Serial Communication Problems... Pin
Randy2412-Jul-04 7:53
Randy2412-Jul-04 7:53 
Generalpinvoke and winmm.dll Pin
Oldmate10-Jul-04 4:35
Oldmate10-Jul-04 4:35 
Generallogin code Pin
Member 12278839-Jul-04 23:57
Member 12278839-Jul-04 23:57 
GeneralRe: login code Pin
Michael P Butler10-Jul-04 0:24
Michael P Butler10-Jul-04 0:24 
GeneralRe: login code Pin
Member 122788310-Jul-04 0:26
Member 122788310-Jul-04 0:26 
GeneralRe: login code Pin
Michael P Butler10-Jul-04 0:33
Michael P Butler10-Jul-04 0:33 
GeneralWMI Access - Help Pin
wakkerjack9-Jul-04 23:28
wakkerjack9-Jul-04 23:28 
QuestionIn StringBuilder copied from richTextBox fast way to findout end of line ? Pin
evdoxos9-Jul-04 23:23
evdoxos9-Jul-04 23:23 
AnswerRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
mav.northwind9-Jul-04 23:42
mav.northwind9-Jul-04 23:42 
GeneralRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
evdoxos10-Jul-04 0:34
evdoxos10-Jul-04 0:34 
GeneralRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
mav.northwind10-Jul-04 5:22
mav.northwind10-Jul-04 5:22 
AnswerRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
leppie10-Jul-04 1:05
leppie10-Jul-04 1:05 
AnswerRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
partyganger10-Jul-04 4:09
partyganger10-Jul-04 4:09 
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 

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.