Click here to Skip to main content
15,884,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
Joan M22-Apr-03 21:35
professionalJoan M22-Apr-03 21:35 
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
triggerdie22-Apr-03 22:21
triggerdie22-Apr-03 22:21 
GeneralQuestion about Int64. Pin
George222-Apr-03 4:26
George222-Apr-03 4:26 
GeneralRe: Question about Int64. Pin
Tim Smith22-Apr-03 4:40
Tim Smith22-Apr-03 4:40 
GeneralRe: Question about Int64. Pin
George222-Apr-03 16:26
George222-Apr-03 16:26 
GeneralRe: Question about Int64. Pin
John R. Shaw22-Apr-03 16:42
John R. Shaw22-Apr-03 16:42 
GeneralRe: Question about Int64. Pin
George222-Apr-03 19:43
George222-Apr-03 19:43 
GeneralPixels - char (difficult) Pin
JensB22-Apr-03 3:52
JensB22-Apr-03 3:52 
Hi
I'm inserting all kind of columns in a CListCtrl
with structure LV_COLUMN like this:

ColumnVi = new LV_COLUMN();
CString Title;
ColumnVi->mask = LVCF_TEXT | LVCF_WIDTH;
ColumnVi->fmt = LVCFMT_CENTER;

//Inserting
ColumnVi->cx = 35;
Title = "Nr.";
ColumnVi->pszText = Title.GetBuffer(3); m_PersCtrl.InsertColumn(0,ColumnVi);
//Insert the column into the clistctrl

The width of column i've set to 35, i tested it out and changed the value until it looked good. but the caption can change at some time .. so how can i know how much pixels 1 char. takes or anyone have other ideas to make it more dynamic?

Greetings Jens
GeneralRe: Pixels - char (difficult) Pin
Hans Ruck22-Apr-03 4:01
Hans Ruck22-Apr-03 4:01 
GeneralRe: Pixels - char (difficult) Pin
Jim Crafton22-Apr-03 4:40
Jim Crafton22-Apr-03 4:40 
GeneralCrash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 3:39
dandy7222-Apr-03 3:39 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
Tim Smith22-Apr-03 3:53
Tim Smith22-Apr-03 3:53 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 4:28
dandy7222-Apr-03 4:28 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
Tim Smith22-Apr-03 4:42
Tim Smith22-Apr-03 4:42 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 5:10
dandy7222-Apr-03 5:10 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
Tim Smith22-Apr-03 6:19
Tim Smith22-Apr-03 6:19 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 8:13
dandy7222-Apr-03 8:13 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
Tim Smith22-Apr-03 9:03
Tim Smith22-Apr-03 9:03 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 10:46
dandy7222-Apr-03 10:46 
Questionwhere can I find a tutorial about raw socket programming? Pin
George222-Apr-03 3:34
George222-Apr-03 3:34 
AnswerRe: where can I find a tutorial about raw socket programming? Pin
valikac22-Apr-03 9:05
valikac22-Apr-03 9:05 
GeneralRe: where can I find a tutorial about raw socket programming? Pin
George222-Apr-03 16:28
George222-Apr-03 16:28 
AnswerRe: where can I find a tutorial about raw socket programming? Pin
Phil Hamer22-Apr-03 12:50
Phil Hamer22-Apr-03 12:50 
GeneralRe: where can I find a tutorial about raw socket programming? Pin
George222-Apr-03 16:28
George222-Apr-03 16:28 
GeneralRe: where can I find a tutorial about raw socket programming? Pin
Phil Hamer22-Apr-03 17:14
Phil Hamer22-Apr-03 17:14 

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.