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

C#

 
GeneralRe: Cookies and winforms Pin
Anonymous16-Apr-05 23:55
Anonymous16-Apr-05 23:55 
GeneralRe: Cookies and winforms Pin
Heath Stewart17-Apr-05 16:21
protectorHeath Stewart17-Apr-05 16:21 
Generaltext color Pin
Larsson16-Apr-05 2:04
Larsson16-Apr-05 2:04 
GeneralRe: text color Pin
Heath Stewart16-Apr-05 9:09
protectorHeath Stewart16-Apr-05 9:09 
GeneralRe: text color Pin
Larsson16-Apr-05 10:12
Larsson16-Apr-05 10:12 
GeneralRe: text color Pin
Heath Stewart16-Apr-05 10:23
protectorHeath Stewart16-Apr-05 10:23 
QuestionSDL.Net on WinForm possible? Pin
RATC16-Apr-05 1:56
RATC16-Apr-05 1:56 
AnswerRe: SDL.Net on WinForm possible? Pin
Heath Stewart16-Apr-05 8:37
protectorHeath Stewart16-Apr-05 8:37 
Yes it should. Windows Forms are classes that encapsulate the native Window APIs. The TextBox, for example, encapsulates the Edit common control; the ListView the List-view common control; etc.

Every class that extends Control is, in fact, tied to an HWND. That's what the Control.Handle property is - an IntPtr (processor-specific bit length integer). The Control.WndProc method is the callback function to handle window messages. Many Window API functions are encapsulated by Windows Forms (even setting the Control.Text property in the Windows Forms BCL ends up sending the WM_SETTEXT windows message most often), but some times you need to P/Invoke other functions like FindWindow or something.

Since your question is rather open-ended, I recommend you read about[^] the Control class members and about P/Invoke[^].

Please search this forum using "Search comments" above to search for function names to find examples, or visit http://pinvoke.net[^] for many, many function signatures.

If you have further questions, please be specific in your request.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
GeneralRe: SDL.Net on WinForm possible? Pin
RATC16-Apr-05 10:01
RATC16-Apr-05 10:01 
GeneralRe: SDL.Net on WinForm possible? Pin
Heath Stewart16-Apr-05 10:38
protectorHeath Stewart16-Apr-05 10:38 
GeneralRe: SDL.Net on WinForm possible? Pin
RATC16-Apr-05 10:53
RATC16-Apr-05 10:53 
GeneralRe: SDL.Net on WinForm possible? Pin
Heath Stewart16-Apr-05 11:12
protectorHeath Stewart16-Apr-05 11:12 
GeneralRe: SDL.Net on WinForm possible? Pin
RATC16-Apr-05 11:16
RATC16-Apr-05 11:16 
GeneralEncryption/decryption problem Pin
Kordzik16-Apr-05 0:38
Kordzik16-Apr-05 0:38 
Questionanyone help with this ??? Pin
Imran Adam16-Apr-05 0:33
Imran Adam16-Apr-05 0:33 
AnswerRe: anyone help with this ??? Pin
DavidNohejl16-Apr-05 1:13
DavidNohejl16-Apr-05 1:13 
AnswerRe: anyone help with this ??? Pin
Heath Stewart16-Apr-05 8:30
protectorHeath Stewart16-Apr-05 8:30 
QuestionHow to use CStringArray in C# using p/invoke Pin
shusong15-Apr-05 23:57
shusong15-Apr-05 23:57 
AnswerRe: How to use CStringArray in C# using p/invoke Pin
Heath Stewart16-Apr-05 8:23
protectorHeath Stewart16-Apr-05 8:23 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong16-Apr-05 15:00
shusong16-Apr-05 15:00 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
Heath Stewart16-Apr-05 22:53
protectorHeath Stewart16-Apr-05 22:53 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong16-Apr-05 23:19
shusong16-Apr-05 23:19 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
Heath Stewart16-Apr-05 23:47
protectorHeath Stewart16-Apr-05 23:47 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong17-Apr-05 1:04
shusong17-Apr-05 1:04 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong17-Apr-05 15:15
shusong17-Apr-05 15:15 

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.