Ok, thanks a lot :-O bye b4ckup (:
gas
Posts
-
List View Help! -
List View Help!Thanks for the answer! I´m working on a ColorPicker. That means for every color that should be displayed in the right column, i must create an rectangle and fill it with the rgb data... argh ;) is this idea working with the LV_ITEM structure? and how can i fill the rect ??? X| bye b4ckup (:
-
List View Help!Hi, im using a CListCtrl (report view) with two columns in my app. the left column displays text and the right column should display color fields. i've read some tutorials about the CListCtrl. All i want to know is how i can add simple color fields in the right column. i dont want to add icons from a bitmap resource. how can i manage this???? thanks for your help! :confused: :confused: bye b4ckup (:
-
CEdit & CDialoghey! Many thanx .. the CResizableDialog works very fine ;p that´s what i want!! .. and thanx for your fast help!! ------------------------------------------------------------------------------- ok here´s how i made it: void CMyDlg::OnSize(UINT nType, int cx, int cy) { CResizableDialog::OnSize(nType, cx, cy); CRect rect; CEdit* ce = (CEdit*)GetDlgItem(IDC_EDIT); ce->GetWindowRect(&rect); ::MoveWindow(ce->GetSafeHwnd(), 0, 0, rect.right, rect.bottom, TRUE); //hehe rect.right and rect.bottom .. that´s all ;) } bye b4ckup (:
-
CEdit & CDialogaehm ;) k .. I have a little dialog based prog with an edit control in there. the edit control should turn up on the upper left @ x = 0 and y = 0, without a border =p _____ ok???? and: when i resize the dialog, the edit control should also resize. here´s what i think (i know that dont works): BOOL CMp3insDlg::OnInitDialog() { CDialog::OnInitDialog(); CRect rect; CEdit* ce = (CEdit*)GetDlgItem(IDC_EDIT); ce->GetWindowRect(&rect); ce->MoveWindow(&rect); return TRUE; } when i throw the code into: void CMp3insDlg::OnSize(UINT nType, int cx, int cy) { CDialog::OnSize(nType, cx, cy); } my programm crashes!! yeah, i know i´m stupid, please help me ;) (if you wish i can send you an email with a screenshot from an other programm, where you can see what i mean) thanX
-
CEdit & CDialogHi all, how can i resize my CEdit, (with GetRect & MoveWindow) automatically, when the Main CDialog will be resized?????? On the Main CDialog i want to scale the CEdit to 0,0 cause i dont want a thick border =p ___ How can i manage this?? Please help me!! Thanx and bye b4ckup :confused: