Click here to Skip to main content
15,918,668 members
Home / Discussions / C#
   

C#

 
GeneralRichEditView equivilent Pin
Nnamdi Onyeyiri11-Aug-02 10:35
Nnamdi Onyeyiri11-Aug-02 10:35 
GeneralRe: RichEditView equivilent Pin
Rocky Moore11-Aug-02 17:56
Rocky Moore11-Aug-02 17:56 
GeneralDataTable.Select vs SQL Pin
manson11-Aug-02 8:32
manson11-Aug-02 8:32 
GeneralRe: DataTable.Select vs SQL Pin
Rocky Moore11-Aug-02 17:53
Rocky Moore11-Aug-02 17:53 
GeneralRe: DataTable.Select vs SQL Pin
manson13-Aug-02 17:07
manson13-Aug-02 17:07 
GeneralDrawing help needed Pin
albean11-Aug-02 6:26
albean11-Aug-02 6:26 
GeneralRe: Drawing help needed Pin
Todd Smith11-Aug-02 8:20
Todd Smith11-Aug-02 8:20 
GeneralRe: Drawing help needed Pin
albean11-Aug-02 16:00
albean11-Aug-02 16:00 
Todd Smith wrote:
It sounds like your drawing on your form, doing an update which shows the rectangle and then the controls are being drawn on top of that. If that's the case, . . .

Todd,
Thanks for your time. Yes, your diagnosis is perfectly correct. I'm using the Graphics object of the Form and then using the DrawRectangle method.


Todd Smith wrote:
then you need to draw a rectangle using XOR


Do you mean that I should draw the rectangle in a new Region variable and then take this Region and XOR it w/ the graphics object of the Form?

------
Another problem that I’m having (using my previous incorrect method from my first post i.e. DrawRectangle) is that I need to erase the old rectangle as the user drags the mouse. So would it then be possible to take the Region that I just described above and XOR it again to erase the "superposition" of the rectagle on the form, and then repeat the process above with a "new" rectangle?

Thanks again.
GeneralRe: Drawing help needed Pin
albean12-Aug-02 4:48
albean12-Aug-02 4:48 
GeneralChoose Folder Dialog Pin
Boris Yankov11-Aug-02 0:40
Boris Yankov11-Aug-02 0:40 
GeneralRe: Choose Folder Dialog Pin
James T. Johnson11-Aug-02 1:11
James T. Johnson11-Aug-02 1:11 
GeneralSource code in need for my project Pin
DotNet10-Aug-02 21:27
DotNet10-Aug-02 21:27 
GeneralStartup hidden Pin
Anonymous10-Aug-02 12:37
Anonymous10-Aug-02 12:37 
GeneralRe: Startup hidden Pin
Nick Parker10-Aug-02 13:20
protectorNick Parker10-Aug-02 13:20 
GeneralRe: Startup hidden Pin
Anonymous10-Aug-02 17:09
Anonymous10-Aug-02 17:09 
GeneralRe: Startup hidden Pin
Joel Matthias12-Aug-02 8:17
Joel Matthias12-Aug-02 8:17 
GeneralRe: Startup hidden Pin
Nick Parker12-Aug-02 11:54
protectorNick Parker12-Aug-02 11:54 
GeneralRe: Startup hidden Pin
Christopher Lord13-Aug-02 7:45
Christopher Lord13-Aug-02 7:45 
GeneralRe: Startup hidden Pin
Nick Parker13-Aug-02 7:50
protectorNick Parker13-Aug-02 7:50 
GeneralRe: Startup hidden Pin
Eric Gunnerson (msft)12-Aug-02 6:45
Eric Gunnerson (msft)12-Aug-02 6:45 
GeneralRe: Startup hidden Pin
leppie12-Aug-02 8:55
leppie12-Aug-02 8:55 
GeneralRe: Startup hidden Pin
Joel Matthias12-Aug-02 11:58
Joel Matthias12-Aug-02 11:58 
GeneralRe: Startup hidden Pin
leppie12-Aug-02 12:23
leppie12-Aug-02 12:23 
GeneralForm.TopMost Pin
manson10-Aug-02 12:21
manson10-Aug-02 12:21 
GeneralRe: Form.TopMost Pin
Anonymous10-Aug-02 17:11
Anonymous10-Aug-02 17:11 

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.