Finally I got it working, I forget WS_CAPTION style. I am developping app for Pocket PC and CWnds are fullscreen here with caption in global system bar which has [x] icon too - but that [x] icon doesnt work like [x] icon in CWnd caption bar (it closes windows but it doesnt call mapped OnClose)...
Hi, I derived class from CWnd. I need to catch OnClose event but it doesnt work. Thx for any tips.
class MyWin : public CWnd
{
protected:
afx_msg void OnClose(void);
public:
MyWin();
~MyWin(void);
bool Init(void); // creates window by CWnd::CreateEx with parent = NULL
void Show(void); //...
I found that WinRAR has this option:
"Put recovery record" - "Adds the recovery record, which may help to restore an archive in case of damage. You may specify a size of the recovery record in the Advanced options of this dialog. The default value is about a percent of the total archive size."...
He send me md5 for each archive part created by WinRAR and md5 for uncompressed ISO file too. Two archive parts have wrong md5 but WinRAR is able to extract ISO out and that ISO has correct md5.
Hi, I transferred 8 GB ISO from my friend using ftp. He divided it to 34 parts (split size 200 000 000 bytes) using WinRAR. He also created md5 for each file. I extracted it without problems so I didnt checked md5 and he deleted archives. Later I noticed that two parts of archive have different...
This works for me:
TListItem *list_item=ListView->Items->Add();
list_item->Caption="name";
list_item->SubItems->Text=property->GetItem(field_index+1);
list_item->Update();
I am creating runtime designer which will be used by enduser - he creates forms with controls and finally save this as a project in custom format. So I need to show controls on the form and enable him to move and resize them. And here I have problem ... dont know how to draw to all controls and...
Hi, I need to create simple designer so user can add controls to form and them move them, change size etc. My problem is that not all controls have Canvas so I cant draw "marks" for resizing. Next problem is that I need to select control by mouse click but not all controls have OnClick() event...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.