Click here to Skip to main content
16,007,163 members
Home / Discussions / C#
   

C#

 
AnswerRe: Graphics.DrawImage half pixel clip and shift? Pin
J. Dunlap28-Mar-06 17:17
J. Dunlap28-Mar-06 17:17 
GeneralRe: Graphics.DrawImage half pixel clip and shift? Pin
vineas29-Mar-06 2:38
vineas29-Mar-06 2:38 
QuestionHow to create own Custom Table Style For DataGrid Pin
brainthorburn28-Mar-06 4:28
brainthorburn28-Mar-06 4:28 
QuestionSorting Collection Pin
England100028-Mar-06 4:03
England100028-Mar-06 4:03 
AnswerRe: Sorting Collection Pin
Kamal.Afridi28-Mar-06 6:34
Kamal.Afridi28-Mar-06 6:34 
GeneralRe: Sorting Collection Pin
England10002-Apr-06 22:41
England10002-Apr-06 22:41 
QuestionControl Focus Problem - a Bug? or.. Pin
rnvrnv28-Mar-06 3:12
rnvrnv28-Mar-06 3:12 
AnswerRe: Control Focus Problem - a Bug? or.. Pin
Luis Alonso Ramos28-Mar-06 6:23
Luis Alonso Ramos28-Mar-06 6:23 
Well, I've never programmed for CF, but the recommended way to determine when a control gets focus AFAIK are the Enter and Leave events.

However, why are you deriving from Control? Unless you are creating a new control from scratch, if you want to add this functionality to existing controls (text boxes, buttons, and so on) I would rather subscribe to the events for the controls. You could write a little class that given the control reference in the constructor, it would subscribe and handle the events. Then you could apply it to any control with just one line of code.

Luis Alonso Ramos
Intelectix
Chihuahua, Mexico

Not much here: My CP Blog!
QuestionBlock list view repaint? Pin
Dominik Reichl28-Mar-06 2:54
Dominik Reichl28-Mar-06 2:54 
AnswerRe: Block list view repaint? Pin
Luis Alonso Ramos28-Mar-06 6:24
Luis Alonso Ramos28-Mar-06 6:24 
GeneralRe: Block list view repaint? Pin
Dominik Reichl28-Mar-06 7:11
Dominik Reichl28-Mar-06 7:11 
GeneralRe: Block list view repaint? Pin
Luis Alonso Ramos28-Mar-06 7:14
Luis Alonso Ramos28-Mar-06 7:14 
QuestionHow can I get size of a baloon tooltip? Pin
Lexa198328-Mar-06 2:34
Lexa198328-Mar-06 2:34 
QuestionMedia File Cutting and Trimming Pin
shreyash_parihar28-Mar-06 2:07
shreyash_parihar28-Mar-06 2:07 
QuestionHow to block popup window in webbrowser Pin
Dima Filipiuk28-Mar-06 1:06
Dima Filipiuk28-Mar-06 1:06 
GeneralRe: How to block popup window in webbrowser Pin
Guffa28-Mar-06 8:10
Guffa28-Mar-06 8:10 
QuestionDataGridViewColumn with possibility to select a few Items Pin
hpetriffer28-Mar-06 1:05
hpetriffer28-Mar-06 1:05 
QuestionAccessing cube data in datagrid Pin
arobind28-Mar-06 0:55
arobind28-Mar-06 0:55 
Questionhow to draw a shape in picturebox ? Pin
hdv21227-Mar-06 23:57
hdv21227-Mar-06 23:57 
AnswerRe: how to draw a shape in picturebox ? Pin
AB777128-Mar-06 1:33
AB777128-Mar-06 1:33 
GeneralRe: how to draw a shape in picturebox ? Pin
hdv21228-Mar-06 2:14
hdv21228-Mar-06 2:14 
GeneralRe: how to draw a shape in picturebox ? Pin
mav.northwind28-Mar-06 6:19
mav.northwind28-Mar-06 6:19 
QuestionPutting a specific row first in a datagridview Pin
Chals27-Mar-06 23:07
Chals27-Mar-06 23:07 
Questionint [,,] myArray = new int [,,] {{1,2,3}}; Pin
Ahmad Mahmoud [candseeme]27-Mar-06 23:02
Ahmad Mahmoud [candseeme]27-Mar-06 23:02 
AnswerRe: int [,,] myArray = new int [,,] {{1,2,3}}; Pin
Stefan Troschuetz27-Mar-06 23:12
Stefan Troschuetz27-Mar-06 23:12 

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.