Click here to Skip to main content
15,921,837 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Please Help Me Pin
Dave Kreskowiak11-Aug-04 5:53
mveDave Kreskowiak11-Aug-04 5:53 
GeneralRe: Please Help Me Pin
Nick Seng11-Aug-04 15:11
Nick Seng11-Aug-04 15:11 
GeneralRe: Please Help Me Pin
ramaseb11-Aug-04 6:34
ramaseb11-Aug-04 6:34 
Questionis there someone can explain this code? Pin
Lisana11-Aug-04 5:00
Lisana11-Aug-04 5:00 
AnswerRe: is there someone can explain this code? Pin
Anonymous11-Aug-04 14:04
Anonymous11-Aug-04 14:04 
Answeroriginal source code Pin
Anonymous11-Aug-04 14:27
Anonymous11-Aug-04 14:27 
GeneralRe: original source code Pin
Lisana11-Aug-04 14:35
Lisana11-Aug-04 14:35 
AnswerRe: is there someone can explain this code? Pin
Nick Seng11-Aug-04 15:09
Nick Seng11-Aug-04 15:09 
The trick to this app is the author is not using a button control at all. He's using GDI+ to draw an image to emulate a button. In the drawbutton function, the size of tha data in that column is measured, and the image is drawn to be slightly larger.

The handle mousedown method is just to change the image of the button to the pushed button image, and assign the tells the class which row was pressed.

Then in the handle mouseup method, the CellButtonClicked event is raised, and image is redrawn to be the normal button image.


HTH



"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler.
GeneralRe: is there someone can explain this code? Pin
Lisana11-Aug-04 15:24
Lisana11-Aug-04 15:24 
Generalhelp! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
isnapols11-Aug-04 3:21
isnapols11-Aug-04 3:21 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
Colin Angus Mackay11-Aug-04 4:00
Colin Angus Mackay11-Aug-04 4:00 
GeneralKodak Image controls Pin
Brad Fackrell11-Aug-04 3:02
Brad Fackrell11-Aug-04 3:02 
GeneralRe: Kodak Image controls Pin
Dave Kreskowiak11-Aug-04 5:18
mveDave Kreskowiak11-Aug-04 5:18 
GeneralRe: Kodak Image controls Pin
Brad Fackrell11-Aug-04 12:12
Brad Fackrell11-Aug-04 12:12 
GeneralWriting data to binary files Pin
Simon Kearn11-Aug-04 0:16
sussSimon Kearn11-Aug-04 0:16 
GeneralRe: Writing data to binary files Pin
Simon Kearn11-Aug-04 5:42
sussSimon Kearn11-Aug-04 5:42 
GeneralRe: Writing data to binary files Pin
Dave Kreskowiak11-Aug-04 6:01
mveDave Kreskowiak11-Aug-04 6:01 
Generalpdf conversion example program Pin
franco_8210-Aug-04 20:30
franco_8210-Aug-04 20:30 
GeneralRe: pdf conversion example program Pin
Member 53081011-Aug-04 3:17
Member 53081011-Aug-04 3:17 
GeneralRe: pdf conversion example program Pin
Dave Kreskowiak11-Aug-04 4:53
mveDave Kreskowiak11-Aug-04 4:53 
GeneralMessageBox And MsgBox Pin
beowulfagate10-Aug-04 16:25
beowulfagate10-Aug-04 16:25 
GeneralRe: MessageBox And MsgBox Pin
Nick Seng10-Aug-04 16:47
Nick Seng10-Aug-04 16:47 
GeneralRe: MessageBox And MsgBox Pin
normanordas10-Aug-04 20:45
normanordas10-Aug-04 20:45 
GeneralMultiple Form problems Pin
Achithyn10-Aug-04 15:48
Achithyn10-Aug-04 15:48 
GeneralRe: Multiple Form problems Pin
Nick Seng10-Aug-04 16:11
Nick Seng10-Aug-04 16: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.