Click here to Skip to main content
16,016,204 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert to utf8??? Pin
Paul Conrad24-Dec-07 19:51
professionalPaul Conrad24-Dec-07 19:51 
QuestionLocate a treenode in a treeview Pin
gapfulgence18-Dec-07 7:31
gapfulgence18-Dec-07 7:31 
GeneralRe: Locate a treenode in a treeview Pin
DaveyM6918-Dec-07 11:49
professionalDaveyM6918-Dec-07 11:49 
GeneralHandwriting in windows server 2003 Pin
mehrdadc4818-Dec-07 7:24
mehrdadc4818-Dec-07 7:24 
GeneralLock the cursor type Pin
Kalvin @ Work18-Dec-07 5:55
Kalvin @ Work18-Dec-07 5:55 
GeneralRe: Lock the cursor type Pin
Skippums18-Dec-07 6:48
Skippums18-Dec-07 6:48 
GeneralRe: Lock the cursor type Pin
Kalvin @ Work18-Dec-07 7:50
Kalvin @ Work18-Dec-07 7:50 
GeneralRe: Lock the cursor type Pin
Skippums18-Dec-07 8:02
Skippums18-Dec-07 8:02 
I'm not really certain if the following would lock only a local copy of the cursor, or if it would lock the cursor resource for all applications, but you could try to use the WinAPI calls LoadCursor[^] followed by a LockResource[^]. Again, I don't have time to experiment with these, but they would be worth looking into. Another idea would be to implement a timer that continuously checks the cursor, and sets it back if it is changed (this method scores a 9/10 on the hack scale). A better idea would be to listen to the windows events (like Spy++ does) and block any attempt at sending a WM_SETCURSOR (I assume this is the message being sent) message. I've never tried to intercept windows messages, but I'm sure you can google to discover how to go about this (perhaps look at overriding DefaultWndProc and WndProc methods on Control objects?). Please post results if you get it working.
Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Lock the cursor type Pin
Kalvin @ Work18-Dec-07 11:10
Kalvin @ Work18-Dec-07 11:10 
QuestionMath.Round..What am I missing? Pin
jayart18-Dec-07 4:40
jayart18-Dec-07 4:40 
AnswerRe: Math.Round..What am I missing? Pin
Stevo Z18-Dec-07 4:47
Stevo Z18-Dec-07 4:47 
AnswerRe: Math.Round..What am I missing? Pin
benjymous18-Dec-07 4:58
benjymous18-Dec-07 4:58 
GeneralRe: Math.Round..What am I missing? Pin
jayart18-Dec-07 5:03
jayart18-Dec-07 5:03 
GeneralRe: Math.Round..What am I missing? Pin
Stevo Z18-Dec-07 5:27
Stevo Z18-Dec-07 5:27 
GeneralRe: Math.Round..What am I missing? Pin
jayart18-Dec-07 5:35
jayart18-Dec-07 5:35 
AnswerRe: Math.Round..What am I missing? Pin
led mike18-Dec-07 5:07
led mike18-Dec-07 5:07 
GeneralRe: Math.Round..What am I missing? Pin
jayart18-Dec-07 5:32
jayart18-Dec-07 5:32 
AnswerRe: Math.Round..What am I missing? Pin
dipak.dipak18-Dec-07 5:24
dipak.dipak18-Dec-07 5:24 
GeneralRe: Math.Round..What am I missing? Pin
Luc Pattyn18-Dec-07 5:55
sitebuilderLuc Pattyn18-Dec-07 5:55 
Questionquestion about FrameWork 3.5 Pin
E_Gold18-Dec-07 4:07
E_Gold18-Dec-07 4:07 
GeneralRe: question about FrameWork 3.5 Pin
Colin Angus Mackay18-Dec-07 4:31
Colin Angus Mackay18-Dec-07 4:31 
GeneralRe: question about FrameWork 3.5 Pin
Paul Conrad24-Dec-07 19:52
professionalPaul Conrad24-Dec-07 19:52 
QuestionHttpWebRequest ? Pin
cd_dvd18-Dec-07 3:59
cd_dvd18-Dec-07 3:59 
GeneralRe: HttpWebRequest ? Pin
Vasudevan Deepak Kumar18-Dec-07 4:12
Vasudevan Deepak Kumar18-Dec-07 4:12 
GeneralRe: HttpWebRequest ? Pin
cd_dvd18-Dec-07 4:31
cd_dvd18-Dec-07 4:31 

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.