Click here to Skip to main content
15,922,015 members
Home / Discussions / C#
   

C#

 
GeneralRe: UserControl accessing CodeBehind Pin
Steve McLenithan11-Nov-02 11:18
Steve McLenithan11-Nov-02 11:18 
Questionbinding to rich text controls...howto? Pin
LongRange.Shooter11-Nov-02 4:37
LongRange.Shooter11-Nov-02 4:37 
AnswerRe: binding to rich text controls...howto? Pin
James T. Johnson11-Nov-02 4:41
James T. Johnson11-Nov-02 4:41 
GeneralRe: binding to rich text controls...howto? Pin
LongRange.Shooter11-Nov-02 9:27
LongRange.Shooter11-Nov-02 9:27 
GeneralPassword Encryption Pin
Derek Lakin11-Nov-02 3:50
Derek Lakin11-Nov-02 3:50 
GeneralRe: Password Encryption Pin
David Stone11-Nov-02 4:49
sitebuilderDavid Stone11-Nov-02 4:49 
GeneralRe: Password Encryption Pin
Derek Lakin11-Nov-02 19:55
Derek Lakin11-Nov-02 19:55 
GeneralRe: Password Encryption Pin
David Stone12-Nov-02 4:42
sitebuilderDavid Stone12-Nov-02 4:42 
GeneralRe: Password Encryption Pin
Derek Lakin12-Nov-02 19:56
Derek Lakin12-Nov-02 19:56 
GeneralRe: Password Encryption Pin
Pete Bassett11-Nov-02 4:59
Pete Bassett11-Nov-02 4:59 
GeneralRe: Password Encryption Pin
David Stone11-Nov-02 4:58
sitebuilderDavid Stone11-Nov-02 4:58 
GeneralRe: Password Encryption Pin
leppie11-Nov-02 6:15
leppie11-Nov-02 6:15 
GeneralRe: Password Encryption Pin
David Stone11-Nov-02 9:23
sitebuilderDavid Stone11-Nov-02 9:23 
GeneralRe: Password Encryption Pin
leppie11-Nov-02 9:58
leppie11-Nov-02 9:58 
GeneralRe: Password Encryption Pin
David Stone11-Nov-02 10:47
sitebuilderDavid Stone11-Nov-02 10:47 
GeneralRe: Password Encryption Pin
Derek Lakin11-Nov-02 19:52
Derek Lakin11-Nov-02 19:52 
GeneralSome inherited form questions.... Pin
LongRange.Shooter11-Nov-02 3:44
LongRange.Shooter11-Nov-02 3:44 
Generalidc_arrow and C# Pin
Senkwe Chanda11-Nov-02 2:20
Senkwe Chanda11-Nov-02 2:20 
Anybody know how to go about getting a handle to the default windows cursor?

Cursors.Arrow.Handle returns what seems to be a valid handle, but I get an error when I call

InPtr Hicon = Cursors.Arrow.Handle;<br />
<br />
Bitmap tempBitmap = Bitmap.FromHicon(Hicon);


The error is "invalid parameter used"

\\winnt\cursors doesn't seem to contain the actual default arrow cursor as a ".cur" file. It's defined in winuser.h via MAKEINTRESOURCE(...) with the identifier IDC_ARROW.

I wouldn't mind going the unmanaged route. (I'm doing this in fact, but using a cursor in the \\winnt\cursors directory). But that's just a temp solution as I really want the default cursor. How would I define Win32's LoadImage(...) or indeed the LoadCursor(...) function with regards to the MAKEINTRESOURCE(...) call?

Gosh, what an ugly question eh?

Smile | :)



ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

GeneralRe: idc_arrow and C# Pin
Stephane Rodriguez.11-Nov-02 3:01
Stephane Rodriguez.11-Nov-02 3:01 
GeneralRe: idc_arrow and C# Pin
Senkwe Chanda11-Nov-02 4:12
Senkwe Chanda11-Nov-02 4:12 
GeneralRe: idc_arrow and C# Pin
Stephane Rodriguez.11-Nov-02 4:13
Stephane Rodriguez.11-Nov-02 4:13 
GeneralRe: idc_arrow and C# Pin
Senkwe Chanda11-Nov-02 18:39
Senkwe Chanda11-Nov-02 18:39 
GeneralRe: idc_arrow and C# Pin
Anonymous11-Nov-02 18:56
Anonymous11-Nov-02 18:56 
GeneralRe: idc_arrow and C# Pin
Senkwe Chanda11-Nov-02 19:47
Senkwe Chanda11-Nov-02 19:47 
QuestionDataGrid ??? Pin
Christian Graus11-Nov-02 0:05
protectorChristian Graus11-Nov-02 0:05 

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.