|
hi,
Can i ask you a question.How did you get the id of the "Mute all" check box to be 0x3e8.
|
|
|
|
|
ashwath2005 wrote: How did you get the id of the "Mute all" check box to be 0x3e8.
Spy++.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
I've got a list of information which I currently display in a CListBox and at present I 'manually' format the data by inserting extra spaces, i.e.
Adam - 260 - 11
Bill - 260 - 2
Caroline - 90 - 6
is there an easy way to get column support into a CListBox or should I be using a different control to display my data?
TIA
|
|
|
|
|
shame codeproject strips out the spaces
|
|
|
|
|
Shame you cannot use the pre and code tags just above the emoticons
|
|
|
|
|
|
Hi,
Why don't you use the CListCtrl instead of the CListBox?
Eli
|
|
|
|
|
cheers, knew there'd be an easy answer (i've never used the CListCtrl before)
|
|
|
|
|
|
Hi,
this code may be helpfull for u
m_INDEX_INFO_LIST.InsertColumn(0, "Index property", LVCFMT_LEFT, 100);
m_INDEX_INFO_LIST.InsertColumn(1, "Value", LVCFMT_LEFT, 200);
m_INDEX_INFO_LIST.InsertItem(0, "Location");
m_INDEX_INFO_LIST.InsertItem(1, "Word count");
m_INDEX_INFO_LIST.InsertItem(2, "Document Count");
m_INDEX_INFO_LIST.InsertItem(3, "Index size");
m_INDEX_INFO_LIST.InsertItem(4, "Percent full");
m_INDEX_INFO_LIST.InsertItem(5, "Last updated");
m_INDEX_INFO_LIST.InsertItem(6, "Created");
|
|
|
|
|
Hi all,
I'd like to remove the the standard buttons ( _ [] x) from the window. But I need the have the window icon. If remove WS_SYSMENU style, as you know, I won't get the icon too. How to make it possible?
Thanks in advance,
Sarvan AL
|
|
|
|
|
Partly from http://www.codeproject.com/dialog/dlgboxtricks.asp[^]
If you want to do this at design time, all you need to do is to set the properties accordingly. But if for some reason you need to do this at run-time then this is what you need to do. Override OnCreate() and add this code to it.
SetWindowLong(this->m_hWnd,GWL_STYLE,
GetWindowLong(this->m_hWnd,GWL_STYLE) &
~(WS_MINIMIZEBOX | WS_MAXIMIZEBOX));
~RaGE();
|
|
|
|
|
hi everyone,
i want to ask about how to traverse a directory. i actually want to open a directory, visit each file in the directory and examine it(throughmy own logic). the problem is how to examine a directory for every file. plz reply as soon as possible.
RabiaAslam
|
|
|
|
|
|
|
Hi to all,
Can somebody tell me the difference between exe and dll?
Thank You
Pankaj Garg
|
|
|
|
|
an exe have a main() (or WinMain() ) function as an entry point, so that when the OS launches it, it knows where to start executing the code.
a dll is a library. it provides a set of functions, classes, resources, but can't be directly executed.
|
|
|
|
|
|
Hi all,
I am getting the above error, when I execute my application in the setting: "Release - Static Library - Code Generation - Multithreaded".
In debug build (Debug - Static Library - Code Generation - Multithreaded), I get this error in CView::DoPrintPreview -CDialogBar::Create(..) - _AfxCheckDialogTemplate(lpszTemplateName, TRUE). This fails.
I've written in my OnFilePrintPreview as in MSDN.
void CView::OnFilePrintPreview()<br />
{<br />
<br />
CPrintPreviewState* pState = new CPrintPreviewState;<br />
<br />
if (!DoPrintPreview(AFX_IDD_PREVIEW_TOOLBAR, this,<br />
RUNTIME_CLASS(CPreviewView), pState))<br />
{<br />
<br />
TRACE0("Error: DoPrintPreview failed");<br />
AfxMessageBox(AFX_IDP_COMMAND_FAILURE);<br />
delete pState;
}<br />
}
Where am I wrong?
Thanks in advance,
Sarvan AL
-- modified at 9:29 Monday 10th April, 2006
|
|
|
|
|
many C++ functions are remarked as in MSDN:
Windows CE: Unsupported.
if so, do u know why MS developed OS of Windows CE in this funny way?
A special image tool for C++ programmers, don't miss it!
The world unique Software Label Maker is here for you and me ...
A nice hyper tool for optimizing your MS html-help contents.
|
|
|
|
|
Windows CE (if i don't say a silly thing) is for embedded plateforms, so the some of the apis are not supported to reduce the OS weight...
|
|
|
|
|
Hi
Can anybody help me in finding the contents of Clip board. Here I am able to find the text item of clip board , but if clip board contains file links, images then I have problem
Please guide me ( better if provide some code snippets)
Thanks
|
|
|
|
|
Have you looked into the clipboard API:
OpenClipboard()<br />
EnumClipboardFormats()<br />
GetClipboardData()
etc.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
|