|
Start your search here. Check here, too.
"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
|
|
|
|
|
if use dialog, it is easy,because vc supply a dialog editor, you can design your UI very intuitionistic.
but for a complex UI for example vc6(not complex as that ,just a example)
how to do? Must I calculate the coordinate of control(position ,size etc...) by hard code?
|
|
|
|
|
yes, or use a CFormView on a SDI application.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
hi,
i have a listctrl with owner draw style. Is there any way to increase the row height of list control? I am using the report view in list control.
nave
|
|
|
|
|
using the HDITEM structure and get the header ctrl. you can able to change the height.
Have A Nice Day!
Murali.M
|
|
|
|
|
i don't want to increase the height of the header control( since i am not owner drawing it), But i want to change the all items height to a number. Actually what happened is when i increased the font size, the font desen't fit in the cell and its getting clipped. iwant to avoid that.
Thanks
nave
|
|
|
|
|
In your CListCtrl derived class, overload the MeasureItem handler. Note that we don't call the base class MeasureItem as this will change the item height back to the default.
<br />
void CCustomListCtrl::MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct)<br />
{<br />
if (lpMeasureItemStruct->CtlType == ODT_LISTVIEW)<br />
{<br />
lpMeasureItemStruct->itemHeight = 20;<br />
}<br />
}<br />
<br />
|
|
|
|
|
Hi,
for my list control i use checkbox by LVS_EX_CHECKBOXES. In this checkboxes checkstate having two states of checked and unchecked. it should be possible for tristate. any one help me out. Thanks in Advance.
Have A Nice Day!
Murali.M
|
|
|
|
|
I think you'll need to roll your own.
"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 am using CXimage class in my project(MFC).
problem is that bfore calling load function everything ok but when i call load function like this:
CxImage image;
image.Load("structure2.png", CXIMAGE_FORMAT_PNG);
and then compile correctle but when i link this give errors you can see as follows please anybody have idea about these error give me answer ASAP.
Linking...
Creating library Release/Show_Image.lib and object Release/Show_Image.exp
cximage.lib.(ximajpg.obj) : error LNK2001: unresolved external symbol _jpeg_finish_decompress
cximage.lib.(ximajpg.obj) : error LNK2001: unresolved external symbol _jpeg_read_scanlines
cximage.lib.(ximajpg.obj) : error LNK2001: unresolved external symbol _jpeg_start_decompress
cximage.lib.(ximajpg.obj) : error LNK2001: unresolved external symbol _jpeg_calc_output_dimensions
cximage.lib.(ximajpg.obj) : error LNK2001: unresolved external symbol _jpeg_read_header
cximage.lib.(ximajpg.obj) : error LNK2001: unresolved external symbol _jpeg_resync_to_restart
cximage.lib.(ximajpg.obj) : error LNK2001: unresolved external symbol _jpeg_CreateDecompress
....
Show_Image.exe - 82 error(s), 0 warning(s)
Bankey Khandelwal
Software Engineer
|
|
|
|
|
you didn't take in account what i've been saying to you there[^]
actually, yes, you posted a question on the article board, but let people the time to answer.
it's been only 40 minutes that you asked it !
ok i conceed, the author don't maintain its article...
sorry
-- modified at 6:40 Friday 3rd March, 2006
|
|
|
|
|
Did you add the required libraries in your project as specified in the article ?
|
|
|
|
|
|
I need to register IITAPIEventNotification interface in order to proces events. For that I need a callnot.h and callnot.cpp files, but I don't have them. How can I get them?
|
|
|
|
|
Hi
Is it possible to show contacts interface and use it to fetch number and email address or we have to iterate through contacts ourselves and show information in own window and controls.
-----------------------------
In my dream, I was dorwning my §orrow§
But my §orrow§, they learned to §wim
|
|
|
|
|
What are you talking about ? Be more explicit.
|
|
|
|
|
Hi
Well to be more explicit:
We have common dialogs for picking colors,fileopen,filesave etc.
Is there any similar option available for getting a phone number to dial from contacts stored on a user's Pocket PC
-----------------------------
In my dream, I was dorwning my §orrow§
But my §orrow§, they learned to §wim
|
|
|
|
|
I should recieve an array of bytes of lenght 212 at a time from the sensor, but am recieving some bytes ie,set X[] at one time and some bytes i,e set Y[] of different lengths. how could i set the sensor for not having "delay" in sending the set of bytes[212].
OR how can i assign Set X bytes to one array and Set Y bytes to another array, so that i could append them??
chaitu
|
|
|
|
|
How do you receive those bytes ? Why are you getting delays ? Be more explicit.
|
|
|
|
|
BYTE x[1024];
l= recv();
printf("Length: %i \n", l);
for(i=0;i
|
|
|
|
|
I just don't see what you are talking about. What is the problem with storing these values in an array ? The varying size ? Then you can use a vector from the STL, it will let you add and retrieve elements in the array without worying about the size.
BTW, use the pre or code tags when you post code.
|
|
|
|
|
searching the net i have found how to turn off UNICODE in vc7 but cant find where or how to do it in vc++6
please help
thanks
|
|
|
|
|
inside stdafx.h, before the other includes,
#undef UNICODE
#undef _UNICODE
|
|
|
|
|
To turn off:
1. Select "Project->Settings" from menu.
2. Select "C/C++" tab.
3. In the "Preprocesor definitions" edit:
3a. Remove "_UNICODE" and "UNICODE".
3b. Add "_MSCS".
To turn on:
1. Select "Project->Settings" from menu.
2. Select "C/C++" tab.
3. In the "Preprocesor definitions" edit:
3a. Remove "_MSCS".
3b. Add "_UNICODE" and "UNICODE".
Steve
|
|
|
|
|
Stephen Hewitt wrote: Remove "_MSCS".
Stephen Hewitt wrote: Add "_MSCS".
Stephen shouldn't it be _MBCS ?
Nibu thomas
Software Developer
|
|
|
|