Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: "sizeof" in C# Pin
Member 11737603-Aug-04 13:31
Member 11737603-Aug-04 13:31 
GeneralRe: "sizeof" in C# Pin
NietzscheDisciple3-Aug-04 13:35
NietzscheDisciple3-Aug-04 13:35 
GeneralFilling a combo box from a database Pin
Jefferys3-Aug-04 12:25
Jefferys3-Aug-04 12:25 
GeneralRe: Filling a combo box from a database Pin
DougW483-Aug-04 12:38
DougW483-Aug-04 12:38 
GeneralListcontrol text alignment. Pin
Christian Graus3-Aug-04 12:22
protectorChristian Graus3-Aug-04 12:22 
GeneralRe: Listcontrol text alignment. Pin
Member 11737603-Aug-04 16:18
Member 11737603-Aug-04 16:18 
GeneralRe: Listcontrol text alignment. Pin
Christian Graus3-Aug-04 16:22
protectorChristian Graus3-Aug-04 16:22 
GeneralRe: Listcontrol text alignment. Pin
Member 11737603-Aug-04 16:37
Member 11737603-Aug-04 16:37 
If you add Items at design-time (for testing purposes only) through the "Items" collection (you'll have to add SubItems of the first item, just the way list controls work), do these show up right aligned? They do for me when I setup a sample list control through the designer, add columns, and add items. If they show up left aligned, even for fields that you know are right aligned, you've got bigger problems and someone else will have to pipe in with some thoughts (possibly bad COMCTL32???)...

If, then, you run your program, only to see everything left aligned, it's pretty obvious that something else is either resetting or recreating the properties on your control. Expand out all the regions of your code and just search for anything related to your list control, paying special heed to anything that may be happening more than once. If you can't isolate it, in the worst case scenario, you can always delete the object off your form/control, and keep re-compiling/fixing errors until you're sure all the code related to the control is gone, then re-add it. I'm sure someone else has other ideas but these are just the ones I can think of.
GeneralRe: Listcontrol text alignment. Pin
Christian Graus3-Aug-04 16:44
protectorChristian Graus3-Aug-04 16:44 
GeneralRe: Listcontrol text alignment. Pin
Member 11737603-Aug-04 17:06
Member 11737603-Aug-04 17:06 
GeneralRe: Listcontrol text alignment. Pin
Christian Graus3-Aug-04 17:09
protectorChristian Graus3-Aug-04 17:09 
GeneralRe: Revenue Counter Pin
Colin Angus Mackay3-Aug-04 12:00
Colin Angus Mackay3-Aug-04 12:00 
GeneralRe: Revenue Counter Pin
RadioButton3-Aug-04 12:13
RadioButton3-Aug-04 12:13 
Generalbeginning a c# database Pin
Miles Roberts3-Aug-04 11:12
Miles Roberts3-Aug-04 11:12 
GeneralRe: beginning a c# database Pin
Nick Parker3-Aug-04 11:27
protectorNick Parker3-Aug-04 11:27 
GeneralRe: beginning a c# database Pin
Colin Angus Mackay3-Aug-04 11:48
Colin Angus Mackay3-Aug-04 11:48 
GeneralRe: beginning a c# database Pin
Miles Roberts3-Aug-04 11:53
Miles Roberts3-Aug-04 11:53 
GeneralRe: beginning a c# database Pin
Colin Angus Mackay3-Aug-04 12:12
Colin Angus Mackay3-Aug-04 12:12 
GeneralRe: beginning a c# database Pin
Miles Roberts4-Aug-04 2:06
Miles Roberts4-Aug-04 2:06 
GeneralRe: beginning a c# database Pin
Christian Graus3-Aug-04 12:19
protectorChristian Graus3-Aug-04 12:19 
GeneralRe: beginning a c# database Pin
Miles Roberts4-Aug-04 0:34
Miles Roberts4-Aug-04 0:34 
GeneralRe: beginning a c# database Pin
Christian Graus4-Aug-04 11:01
protectorChristian Graus4-Aug-04 11:01 
GeneralRe: beginning a c# database Pin
Looney Tunezez3-Aug-04 12:50
Looney Tunezez3-Aug-04 12:50 
Generalsome parts of image still on the screen after i close the form Pin
mostafa hamed3-Aug-04 10:21
mostafa hamed3-Aug-04 10:21 
GeneralRe: some parts of image still on the screen after i close the form Pin
Nick Parker3-Aug-04 10:35
protectorNick Parker3-Aug-04 10:35 

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.