Click here to Skip to main content
15,877,168 members
Home / Discussions / C#
   

C#

 
AnswerRe: Pages file attribute. Pin
Dave Kreskowiak19-Sep-07 10:05
mveDave Kreskowiak19-Sep-07 10:05 
AnswerRe: Pages file attribute. Pin
Lord_Veralix20-Sep-07 16:48
Lord_Veralix20-Sep-07 16:48 
GeneralRe: Pages file attribute. Pin
Dave Kreskowiak20-Sep-07 17:16
mveDave Kreskowiak20-Sep-07 17:16 
GeneralRe: Pages file attribute. Pin
Lord_Veralix20-Sep-07 17:27
Lord_Veralix20-Sep-07 17:27 
GeneralRe: Pages file attribute. Pin
Dave Kreskowiak20-Sep-07 17:55
mveDave Kreskowiak20-Sep-07 17:55 
AnswerRe: Pages file attribute. Pin
Big Daddy Farang20-Sep-07 6:44
Big Daddy Farang20-Sep-07 6:44 
QuestionForm Styles.. Pin
Dio2219-Sep-07 7:03
Dio2219-Sep-07 7:03 
AnswerRe: Form Styles.. Pin
Luc Pattyn19-Sep-07 7:36
sitebuilderLuc Pattyn19-Sep-07 7:36 
Hi, I know of three ways to get this:

1.
Choose one of the fixed FormBorderStyles, say FixedSingle. And set MaximizeBox to false.

2.
Set MaximumSize and MinimumSize to the same value as Size.
Now Maximize will be selectable but fail, Minimize will succeed,
resizing will be selectable but fail.

3.
Choose whatever you want, and in the Resize handler if something is happening that you
don't like, undo it (check WindowState, if not Minimized force Size back to its desired value).


1. is the preferred approach since that form best shows what is and is not possible.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Form Styles.. Pin
Dio2219-Sep-07 8:43
Dio2219-Sep-07 8:43 
QuestionMonthCalendar refresh problem Pin
DeepToot19-Sep-07 5:35
DeepToot19-Sep-07 5:35 
AnswerRe: MonthCalendar refresh problem Pin
DeepToot20-Sep-07 3:34
DeepToot20-Sep-07 3:34 
QuestionC# - Sharing assembly between projects? Pin
wbjohnson19-Sep-07 5:24
wbjohnson19-Sep-07 5:24 
AnswerRe: C# - Sharing assembly between projects? Pin
Patrick Etc.19-Sep-07 15:51
Patrick Etc.19-Sep-07 15:51 
GeneralRe: C# - Sharing assembly between projects? Pin
wbjohnson19-Sep-07 21:14
wbjohnson19-Sep-07 21:14 
GeneralRe: C# - Sharing assembly between projects? Pin
Patrick Etc.20-Sep-07 3:53
Patrick Etc.20-Sep-07 3:53 
QuestionSplitting strings while taking escaped characters into account Pin
martin_hughes19-Sep-07 5:16
martin_hughes19-Sep-07 5:16 
AnswerRe: Splitting strings while taking escaped characters into account Pin
Larantz19-Sep-07 10:41
Larantz19-Sep-07 10:41 
QuestionInter process communication Pin
KrunalC19-Sep-07 4:42
KrunalC19-Sep-07 4:42 
AnswerRe: Inter process communication Pin
led mike19-Sep-07 5:09
led mike19-Sep-07 5:09 
GeneralRe: Inter process communication Pin
KrunalC19-Sep-07 5:12
KrunalC19-Sep-07 5:12 
GeneralRe: Inter process communication Pin
led mike19-Sep-07 5:51
led mike19-Sep-07 5:51 
QuestionError creatin window handle Pin
eoe19-Sep-07 4:09
eoe19-Sep-07 4:09 
AnswerRe: Error creatin window handle Pin
Judah Gabriel Himango19-Sep-07 4:37
sponsorJudah Gabriel Himango19-Sep-07 4:37 
GeneralRe: Error creatin window handle Pin
eoe19-Sep-07 19:20
eoe19-Sep-07 19:20 
AnswerRe: Error creatin window handle Pin
mav.northwind19-Sep-07 19:17
mav.northwind19-Sep-07 19:17 

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.