September 13th, 2004 12:52 AM
Hi all
How to create a toolbar at win32 application?
February 24th, 2004 07:09 PM
Hi there
Can someone tell me What these code mean and why people want to write code like these?
#define LVNI_ALL 0x0000
#define LVNI_FOCUSED 0x0001
#define...
February 24th, 2004 12:08 AM
Thank you for your help, i am going to try it now.
February 23rd, 2004 11:07 PM
Hi there
I used SetItemState, but only the last item will be seleted and get focus;
Here is my code
for(int i=0;i<=10;i++)
{
m_ImageList.SetItemState(i,LVIS_SELECTED,LVIS_SELECTED);
}
February 23rd, 2004 07:32 PM
Dear all
I create a dialog and add a List control which is a icon list control.
i can selete several items if i press Ctrl or Shift.
now, i want several items being seleted and set focus...
February 16th, 2004 07:59 PM
Thank you for your help.
Do you mean "LVIS_FOCUSED","'LVIS_CUT".........
I found "LVIS_FOCUSED", but the MSDN states " The item has the foucs, so it is surrounded by a standard focus rectangle,...
February 16th, 2004 07:00 PM
Sorry for asking the wrong question.
i use CListCtrl to show Bitmap, and i want all of Bitmaps getting focus automatically when i open my dialog. Therefore, i use ClistCtrl's function SetItemstate...
February 16th, 2004 04:06 AM
Hi there
for(int i=0;i<=5;i++)
{
m_ImageList.SetItemState(i,LVIS_SELECTED,LVIS_SELECTED);
}
How to selete more than one item by using SetItemState function?
December 23rd, 2003 06:56 PM
Hi guys
Thanks for your reply.
I am looking for a SCM-Source Code Manager, not a Project Manager, to substitute VSS.
December 23rd, 2003 02:49 AM
Hi there
i am using MS visual sourcesafe to manage my VC++ project,
Does anyone know other kind of software that can manage VC++ project like Visual Sourcesafe?
Thanks
September 18th, 2003 04:54 AM
I am really thank you for help me to solve this problem. and i found another way to assign a Chinese Character to UINT
CString aStr = "Learning 中文";
int i = 0;
while (i<aStr.GetLength())...
September 17th, 2003 10:59 PM
HI
DWORD GetGlyphOutline(
HDC hdc, // handle to device context
UINT uChar, // character to query
UINT uFormat, // format of data to return
LPGLYPHMETRICS...
September 17th, 2003 08:03 PM
Thanks
code:--------------------------------------------------------------------------------
CString aStr = "Learning 中文";
char cChinese[3];
cChinese[2] = '\0';
int i = 0;
while...
September 17th, 2003 05:09 AM
Thanks for your reply.
for extracting currenct byte, do you mean to use the IsDBCSLeadByte()?
I really donot how to extract both the current and next byte, and combine the 2 extracted bytes ...
September 17th, 2003 03:21 AM
Dear all
CString aStr="Learning 中文"; //a mixed English and Chinese string
Extracting each Chinese Character from The String and assign it to a UINT data type.
UINT aWord = ????
i...
September 17th, 2003 12:39 AM
I do use _MBCS.
How do i make a doubel byte character , when i get the Chinese character from the string?
September 16th, 2003 09:26 PM
Dear all
CString aStr="Learning 中文"; //a mixed English and Chinese string
Without using Unicode, How can i extract a single Chinese Character from a Mixed English and Chinese string?
...
September 16th, 2003 04:19 AM
Thanks for your reply.
my program is not UNICODE.
Do i have to change my program to UNICODE?
Thanks
September 16th, 2003 04:11 AM
Hi all
CString aStr="中文"; //receive a Chinese sentence
int aLength=aStr.Length(); //it returns 4, why not 2
I need to work on strings character by character, so i assign each word to a...
August 6th, 2003 09:22 PM
Hi
Is anybody knows the way of how to send a text file to be printed to printer?
I creat the file using CStdioFile.