|
Hi,
How can I display the progress with tree control while tree loading?
e.g
If drive "C" is loading, How can I display the progress just before the TreeItemText.
|
|
|
|
|
Click Here ->[^]
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Cool. 5 from me.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Thanks
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
I want just before the ItemText and after the +
|
|
|
|
|
You will need to go through the article and see how it has been done and modify it to suit your needs. Shouldn't be such a daunting task though. All the boilerplate stuff has been done for you by somebody else already. Be happy about that and don't expect spoon-feeding.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hi Experts,
I m using CRichEditCtrl for my application.
in which I paste the clipboard data into the control using paste method.
but there is limitation of Data displayed and copied..
for example > If I copy a file data of size about 65KB then it works fine..
but when I copy full file ( more than 65 KB about 120 KB size)
then it takes only 65 KB and remaining data is neglected.....
so
plz Help me I want to increase my Rich edit's capacity or suggest any
other control that have more ability.
ur reply matters me....
I m waiting.,..
Thanks in advance.
|
|
|
|
|
The only limitation may be physical memory of your system.
|
|
|
|
|
but when i copy same data and paste it in other document, the whole data get copied........
|
|
|
|
|
|
Same question different user ID but the answer is same
use "EM_EXLIMITTEXT"
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Rule #1 - You must wait longer than 1 hour before posting same question again.
Mahesh_Pawar wrote: ...then it takes only 65 KB and remaining data is neglected.....
Are you sure you are not using a regular edit control? It maxes out at 64KB on Win9x machines.
Otherwise, if you have sent the control a EM_EXLIMITTEXT message with lParam as 0 , the control will default to 64KB.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi all,
I m using a SDI type of application in VC++2005,
in onw form i m using a Picture Control for show passport size picture, and a button for open and select the picture from computer.
but i dont know how can i set selected picture in Picture Control.
Please help me for this,
Thanks in Advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
GDI+ has the ability to load jpgs, etc and show them.
Also, IPicture.
There are also many articles here on image work - you should be able to take a lot of that work and put it to use.
A quick search gives this article, which hopefully will help:
http://www.codeproject.com/KB/graphics/trans_cimage.aspx[^]
Its main focus is on transparency, but also includes a lot of useful information.
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
Thanks now its working,
after this i want to save this in database.
i m using MS-Access database and CRecordSet type of class for database,
now plz tell me how can i save this in database and see in future.
and also tell me how can it is applicable for all other Computers also.
i mean the saved picture show on diffrent computers is i run my project on diffrent computer.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
That, I have no idea.
I know there is a BLOB type of database data, so you could save the picture as a bitmap there, now you've loaded it in to your app. I wouldn't be surprised to find there is even some sort of picture type, perfect for your needs.
Having never worked programmatically with databases, that's all the help I can give. I'm a near-the-metal-programmer, not a db / webby one.
I'd suggest doing a little research, then asking a separate question about storing a picture in a database.
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
Thanks.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Does this code helpful?
CImage m_Image;
m_Image.Load(_T("c:\\2.jpg"));
m_Control.SetBitmap(m_Image.Detach());
|
|
|
|
|
Hi Experts,
I m using CRichEditCtrl for my application.
in which I paste the clipboard data using program.
but there is limitation of Data displayed and copied..
for example > If I copy a file data of size about 65KB then it works fine..
but when I copy full file ( more than 65 KB about 120 KB size)
then it takes only 65 KB and remaining data is neglected.....
so
plz Help me I want to increase my Rich edit's capacity or suggest any
other control that have more ability.
ur reply matters me....
I m waiting.,..
Thanks in advance.
|
|
|
|
|
please use "EM_EXLIMITTEXT"
EM_EXLIMITTEXT message sets an upper limit to the amount of text the user can type or paste into a rich edit control.
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Hello dear friends,
I've added a tab control in a dialogbox and I want to make this tab
control looks like XP style tab control.
How can I achieve this?
Thanks in advance to all of you.
ritz1234
|
|
|
|
|
ritz1234 wrote: How can I achieve this?
You need to add manifest file to your application for this. Read this for more details Using Windows XP Visual Styles[^]
|
|
|
|
|
Thanks for the help Naveen,
I've added the manifest file as shown below
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
processorArchitecture="x86"
version="1.0.0.0"
type="win32"
name="qpOffice"/>
<description>nnnn</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.2600.2180"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="x86"/>
</dependentAssembly>
</dependency>
</assembly>
Still the problem is the dialogbox which contains the tab control has
effect of visual style.But the Tab Control reamins the BTN_FACE color.
Means the color of the tab control doesn't get changed it remains as it
was.I've also used the EnableThemeDialogTexture function of uxtheme.dll.
tell me what is the problem?
ritz1234
|
|
|
|
|
ritz1234 wrote: BTN_FACE color
Sorry I didnt understant that.
Can you show how you create the tab? Is it placed in the resource or dynamically created??
|
|
|
|
|
1)I've included the tab control on the dialogbox.
2)In class that implements the the dialogbox has a member CTabCtrl m_Tab.
3)The .cpp class of this dialogbox has following code.
CoInitialize(NULL); <br />
<br />
EnableThemeDialogTexture(GetSafeHwnd());<br />
<br />
<br />
char szBuffer1[50];<br />
char szBuffer2[50];<br />
<br />
strcpy(szBuffer1,"Login");<br />
strcpy(szBuffer2,"Upload");<br />
<br />
m_Tab = (CXPTabCtrl *)GetDlgItem(IDC_OPTION_TABS);<br />
<br />
<br />
TCITEM tcItem1 = {0};<br />
<br />
tcItem1.mask = TCIF_TEXT;<br />
tcItem1.pszText =szBuffer1;<br />
tcItem1.cchTextMax =79; <br />
<br />
<br />
<br />
TCITEM tcItem2 = {0};<br />
<br />
tcItem2.mask = TCIF_TEXT;<br />
tcItem2.pszText =szBuffer2;<br />
tcItem2.cchTextMax =79; <br />
<br />
m_Tab->InsertItem(0,&tcItem1);<br />
m_Tab->InsertItem(1,&tcItem2);<br />
<br />
m_Tab->SetCurFocus(0);
ritz1234
|
|
|
|