You can insert any icon you like into your resource file, but don't try to open or edit it inside Visual Studio because it will screw it up. The icon editor only supports up to 256 colour icons. The icon will still work correctly in your application if you don't edit it inside Visual Studio.
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late"John Nichol "Point Of Impact"
I’m starting working VC;I'm trying to make an explorer application (dialog based), I' ve been revising some articles about the use of tree, list and combo controls, I' ve alredy made the explorer but I don't know how to make a filter to select from a series of diferents formats, and links between the controls so that in the combo you can select an extension, after looking a file, and in the list be shown the documents corresponding to this formats.
please if you can help me I really appreciate it a lot (firstname.lastname@example.org)
What I want to do is to save many (70k+) rtf strings into one file. The problem is that rtf uses \r\n, which causes that only a part of a string is read from the file when I try to load it.
I'd like to avoid reading/writing fixed length block for each string since their length varies from 50 to 1200 characters (plain text, make it x3 in rtf).
If anybody has a way of doing it without saving as text, reading line-by-line and checking whenever it is a predefined separator I'd really appreciate it.
No .Net please (I’m already feeling bad about using MFC and I think I’ll have to send some angry emails to email@example.com just to feel better).
CStdioFileEx input; //CStdioFile-derived class for Unicode/Multibyte
CStringW theString, temp;
And before the CCheckBoxDlg::OnNMClickTree1 finish. I've counted all the checked child items which belonging to specific parent. But it seems that the CTreeCtrl class doesn't take the items I've just check/unchecked into consideration before the NM_CLICK finish. In other words, I always get the item's previous check/uncheck value. How can I do my part after the check/uncheck default processing finished, but still inside NM_CLICK?
The MSDN docs say "The path can be specified as a Unicode string or a PIDL" for the BFFM_SETSELECTION message (inside a BrowseCallbackProc function after calling SHBrowseForFolder), but when I send a Unicode string instead of an ansi one it fails. Is the documentation wrong?
Last Visit: 31-Dec-99 19:00 Last Update: 28-Nov-23 13:56