Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: Converting an Image to an Icon Pin
Corinna John10-Nov-03 19:54
Corinna John10-Nov-03 19:54 
GeneralNew Line in CF textbox Pin
gadgetfbi10-Nov-03 13:01
gadgetfbi10-Nov-03 13:01 
GeneralRe: New Line in CF textbox Pin
MultiThread10-Nov-03 16:54
MultiThread10-Nov-03 16:54 
QuestionHow to retrieve the initial window state? Pin
Alvaro Mendez10-Nov-03 12:20
Alvaro Mendez10-Nov-03 12:20 
AnswerRe: How to retrieve the initial window state? Pin
Heath Stewart11-Nov-03 3:38
protectorHeath Stewart11-Nov-03 3:38 
GeneralRe: How to retrieve the initial window state? Pin
Alvaro Mendez11-Nov-03 4:33
Alvaro Mendez11-Nov-03 4:33 
GeneralRe: How to retrieve the initial window state? Pin
Heath Stewart11-Nov-03 6:54
protectorHeath Stewart11-Nov-03 6:54 
GeneralRe: How to retrieve the initial window state? Pin
Alvaro Mendez11-Nov-03 8:48
Alvaro Mendez11-Nov-03 8:48 
Heath Stewart wrote:
The runtime doesn't expose near as much as what Win32 would. Otherwise ListViews would support grouping, working areas, multiple column sorting, and filter columns. It doesn't. Forms would support drop-shadows. They don't. In these and many other cases, you have to P/Invoke code and often defines structs and enums/consts. These are wrapper classes - and early ones at that.

What's the explanation for all these things lacking? I mean, on one hand you'd think it's because they didn't have sufficient time to include everything. While on the other, it looks like a ploy to keep our apps tied to the OS, diminishing the possibility of one day running them on other platforms. Suspicious | :suss:

I guess the important question is, is Microsoft planning on filling the missing pieces in future releases?

Heath Stewart wrote:
You could P/Invoke GetWindowPlacement and redefine the WINDOWPLACEMENT struct in the Windows Manager functions (see MSDN Library for this function for more information). It requires an HWND, which you can easily get from Form.Handle (inherited from Control).

That did it! Thanks for taking the time to answer Heath.

Regards,
Alvaro



He who laughs last, thinks slowest.
GeneralRe: How to retrieve the initial window state? Pin
Heath Stewart11-Nov-03 8:53
protectorHeath Stewart11-Nov-03 8:53 
GeneralComputer name Pin
Chathura10-Nov-03 12:10
Chathura10-Nov-03 12:10 
GeneralRe: Computer name Pin
Heath Stewart11-Nov-03 3:43
protectorHeath Stewart11-Nov-03 3:43 
GeneralActive Directory Adding Pin
Chathura10-Nov-03 11:53
Chathura10-Nov-03 11:53 
Questiona way to use arrays with negative pointers? Pin
Demokritos10-Nov-03 11:26
Demokritos10-Nov-03 11:26 
AnswerRe: a way to use arrays with negative pointers? Pin
Wjousts10-Nov-03 11:39
Wjousts10-Nov-03 11:39 
GeneralRe: a way to use arrays with negative pointers? Pin
Demokritos11-Nov-03 12:40
Demokritos11-Nov-03 12:40 
GeneralConvert string to class (sort of) Pin
MrEyes10-Nov-03 6:30
MrEyes10-Nov-03 6:30 
GeneralRe: Convert string to class (sort of) Pin
Wjousts10-Nov-03 7:06
Wjousts10-Nov-03 7:06 
GeneralRe: Convert string to class (sort of) Pin
MrEyes10-Nov-03 7:09
MrEyes10-Nov-03 7:09 
GeneralRe: Convert string to class (sort of) Pin
Heath Stewart10-Nov-03 7:44
protectorHeath Stewart10-Nov-03 7:44 
GeneralA couple of line drawing questions... Pin
DoofToo10-Nov-03 6:12
DoofToo10-Nov-03 6:12 
GeneralRe: A couple of line drawing questions... Pin
mhmoud rawas11-Nov-03 1:36
mhmoud rawas11-Nov-03 1:36 
GeneralPrinting.. Pin
Amirjalaly10-Nov-03 5:50
Amirjalaly10-Nov-03 5:50 
GeneralRe: Printing.. Pin
Heath Stewart10-Nov-03 6:01
protectorHeath Stewart10-Nov-03 6:01 
GeneralRemoting and Events Pin
CillyMe10-Nov-03 5:08
CillyMe10-Nov-03 5:08 
GeneralRe: Remoting and Events Pin
Heath Stewart10-Nov-03 5:39
protectorHeath Stewart10-Nov-03 5:39 

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.