Click here to Skip to main content
15,910,872 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to draw lines then undo ??? Pin
lespaul3620-Jun-05 18:57
lespaul3620-Jun-05 18:57 
GeneralRe: How to draw lines then undo ??? Pin
Ray Guan20-Jun-05 15:29
Ray Guan20-Jun-05 15:29 
GeneralRe: How to draw lines then undo ??? Pin
Christian Graus20-Jun-05 15:41
protectorChristian Graus20-Jun-05 15:41 
GeneralRe: How to draw lines then undo ??? Pin
Ray Guan20-Jun-05 15:18
Ray Guan20-Jun-05 15:18 
GeneralRe: How to draw lines then undo ??? Pin
Christian Graus20-Jun-05 15:24
protectorChristian Graus20-Jun-05 15:24 
GeneralRe: How to draw lines then undo ??? Pin
Ray Guan20-Jun-05 15:40
Ray Guan20-Jun-05 15:40 
GeneralRe: How to draw lines then undo ??? Pin
Christian Graus20-Jun-05 15:47
protectorChristian Graus20-Jun-05 15:47 
GeneralRe: How to draw lines then undo ??? Pin
lespaul3620-Jun-05 19:10
lespaul3620-Jun-05 19:10 
I did something like this before, without the selection of a line to remove it. I wish I had the code, but I lost it when I had a hard drive crash (back up every week now Smile | :) )

I used GetChildAtPoint for some of the info. I also used an array of bitmaps, however it was for icon info (never did get it to make actual ico files instead of png files), so it was fast and didn't use too much resources. You could probably still pull it off, but might have to do some playing. I would be interested to see if there is a hittest or something for a drawn line...please let me know back. Other wise you would probably want to write the routine to check if it is a hit in its own thread and you would need to give a little distance for ease of click...be hard if it had to be a certain pixel).

Good Luck
GeneralRe: How to draw lines then undo ??? Pin
T-Smooth21-Jun-05 2:01
T-Smooth21-Jun-05 2:01 
GeneralRe: How to draw lines then undo ??? Pin
lespaul3621-Jun-05 11:26
lespaul3621-Jun-05 11:26 
GeneralRecordsets in VB.Net Pin
directred20-Jun-05 4:29
directred20-Jun-05 4:29 
GeneralRe: Recordsets in VB.Net Pin
lespaul3620-Jun-05 9:19
lespaul3620-Jun-05 9:19 
GeneralCreating print documents Pin
Anonymous20-Jun-05 2:50
Anonymous20-Jun-05 2:50 
GeneralRe: Creating print documents Pin
Dave Kreskowiak20-Jun-05 3:58
mveDave Kreskowiak20-Jun-05 3:58 
GeneralApplying Updates Pin
nitin_ion20-Jun-05 0:21
nitin_ion20-Jun-05 0:21 
QuestionHow to do Web Scraping Using MS Inet Control Pin
shahzad316419-Jun-05 22:11
shahzad316419-Jun-05 22:11 
AnswerRe: How to do Web Scraping Using MS Inet Control Pin
Dave Kreskowiak20-Jun-05 1:31
mveDave Kreskowiak20-Jun-05 1:31 
AnswerRe: How to do Web Scraping Using MS Inet Control Pin
Ashaman20-Jun-05 1:52
Ashaman20-Jun-05 1:52 
GeneralDial-Up connection In .Net Pin
Anonymous19-Jun-05 21:09
Anonymous19-Jun-05 21:09 
GeneralRe: Dial-Up connection In .Net Pin
lespaul3621-Jun-05 12:53
lespaul3621-Jun-05 12:53 
Generalcannot forcefully delete a file Pin
ashu_sharma2119-Jun-05 20:11
ashu_sharma2119-Jun-05 20:11 
GeneralRe: cannot forcefully delete a file Pin
Dave Kreskowiak20-Jun-05 1:26
mveDave Kreskowiak20-Jun-05 1:26 
GeneralRe: cannot forcefully delete a file Pin
Ashaman20-Jun-05 1:57
Ashaman20-Jun-05 1:57 
GeneralVisula Basic Tree Traversal With database sync Pin
sakkatha19-Jun-05 19:37
sakkatha19-Jun-05 19:37 
GeneralRe: Visula Basic Tree Traversal With database sync Pin
Christian Graus19-Jun-05 19:49
protectorChristian Graus19-Jun-05 19:49 

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.