Click here to Skip to main content
15,350,244 members
Home / Discussions / C#
   

C#

 
GeneralRe: Autoresizing two panels with one splitter Pin
Luther Baker6-Jan-04 18:47
MemberLuther Baker6-Jan-04 18:47 
GeneralRe: Autoresizing two panels with one splitter Pin
Heath Stewart6-Jan-04 18:55
protectorHeath Stewart6-Jan-04 18:55 
GeneralRe: Autoresizing two panels with one splitter Pin
RB@Emphasys7-Jan-04 3:57
MemberRB@Emphasys7-Jan-04 3:57 
GeneralCompare files Pin
Gary Kirkham6-Jan-04 9:13
MemberGary Kirkham6-Jan-04 9:13 
GeneralRe: Compare files Pin
Mazdak6-Jan-04 9:22
MemberMazdak6-Jan-04 9:22 
GeneralRe: Compare files Pin
Kentamanos6-Jan-04 11:13
MemberKentamanos6-Jan-04 11:13 
GeneralListView and ProgressBar Pin
Guinness4Strength6-Jan-04 8:30
MemberGuinness4Strength6-Jan-04 8:30 
GeneralRe: ListView and ProgressBar Pin
Heath Stewart6-Jan-04 17:15
protectorHeath Stewart6-Jan-04 17:15 
You can block the resizing by overriding WndProc and handling the LVM_SETCOLUMNWIDTH message. If the Message.WParam cast to an int is the number of the column, don't pass the message on to base.WndProc. This should work. You should also be able to use this approach to get the new size of the control using some fancy state checking (allowing the column to be resized if desired) and setting the ProgressBar.Width property to the column width.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralGetting info out of datagrid cell Pin
obelisk296-Jan-04 8:17
Memberobelisk296-Jan-04 8:17 
GeneralRe: Getting info out of datagrid cell Pin
Mazdak6-Jan-04 9:19
MemberMazdak6-Jan-04 9:19 
GeneralFolderBrowserDialog Pin
Gary Kirkham6-Jan-04 7:15
MemberGary Kirkham6-Jan-04 7:15 
GeneralNever Mind Pin
Gary Kirkham6-Jan-04 8:12
MemberGary Kirkham6-Jan-04 8:12 
Generalcomparing strings Pin
Hayat6-Jan-04 6:45
MemberHayat6-Jan-04 6:45 
GeneralRe: comparing strings Pin
Colin Angus Mackay6-Jan-04 6:57
MemberColin Angus Mackay6-Jan-04 6:57 
GeneralRe: comparing strings Pin
Heath Stewart6-Jan-04 17:41
protectorHeath Stewart6-Jan-04 17:41 
GeneralRe: comparing strings Pin
Angel Reyes6-Jan-04 14:00
MemberAngel Reyes6-Jan-04 14:00 
GeneralRe: comparing strings Pin
Heath Stewart6-Jan-04 17:08
protectorHeath Stewart6-Jan-04 17:08 
GeneralRe: comparing strings Pin
Hayat9-Jan-04 2:04
MemberHayat9-Jan-04 2:04 
QuestionHow do I get an app to run on boot? Pin
cjengler6-Jan-04 4:16
Membercjengler6-Jan-04 4:16 
AnswerRe: How do I get an app to run on boot? Pin
Michael P Butler6-Jan-04 4:32
MemberMichael P Butler6-Jan-04 4:32 
AnswerRe: How do I get an app to run on boot? Pin
Heath Stewart6-Jan-04 4:35
protectorHeath Stewart6-Jan-04 4:35 
AnswerRe: How do I get an app to run on boot? Pin
cjengler6-Jan-04 5:49
Membercjengler6-Jan-04 5:49 
AnswerRe: How do I get an app to run on boot? Pin
jparsons6-Jan-04 6:40
Memberjparsons6-Jan-04 6:40 
QuestionPlaying Mp3 file? Pin
thomasa6-Jan-04 3:24
Memberthomasa6-Jan-04 3:24 
AnswerRe: Playing Mp3 file? Pin
Heath Stewart6-Jan-04 4:10
protectorHeath Stewart6-Jan-04 4:10 

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.