|
___________
|tab1|tab2|
|============|
|****color*****|
|****here***** |
|=============|
-- modified at 0:45 Thursday 20th July, 2006
|
|
|
|
|
i am sorry for interrupting you all
but i want to know how to change color on clicking tab
as i dont know this from article
i try this one what it gives error
i try this code in on init dialog where m_tabctrl is variable ofCTabctrl;
m_tabctrl.SubclassDlgItem(CPropertySheet::GetTabControl()->GetDlgCtrlID(), this);
now tell me how can i use this one
yogi thanks
Please mail me
|
|
|
|
|
|
|
ya sir i saw this link
but when i write code in oninit as
m_tabctrl.SubclassDlgItem(CPropertySheet::GetTabControl()->GetDlgCtrlID(), this);
it will give errors as
1)'CPropertySheet::GetTabControl' : illegal call of non-static member function
2)left of '->GetDlgCtrlID' must point to class/struct/union
yogi thanks
Please mail me
|
|
|
|
|
and this
<br />
CTabCtrl *p=CPropertySheet::GetTabControl()<br />
m_tabctrl.SubclassDlgItem(p->GetDlgCtrlID(), this);<br />
whitesky
|
|
|
|
|
ya sir i try this one
CTabCtrl *p=CPropertySheet::GetTabControl();
m_tabctrl.SubclassDlgItem(p->GetDlgCtrlID(), this
but this has the erroras
CPropertySheet::GetTabControl' : illegal call of non-static member function
Please mail me
|
|
|
|
|
yogendra kaushik wrote: 1)'CPropertySheet::GetTabControl' : illegal call of non-static member function
The compiler is telling you exactly what the problem is. CPropertySheet::GetTabControl() is not a static method.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
|
I am reading some value (path) from the registry. But that contains ~ operator in the path. But I want to display the full path. So kindly help me How can I translate ~ operator from file names or folder names using VC++
Regards,
K. Narasimharao
knarasimharao
|
|
|
|
|
|
Just how many times do you plan on asking the same question? Once is enough in any 24-hour period.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi
i wanted to log processes into a file so i coded a program that shows processes(i used both enumprocesses & snapshot,actually i coded 2 program and both of the run well)then i wanted to add a code to shows the creation new process.so i used hook program.
evreything is well.i used messagebox to show which procees is wanted to run.but when i use file to log i dont know what happens the file someties is empty and sometimes show the hook program name.but dont shows the correct result(thas shows in the messagebox)heres is my code:
char host[1024], szModName[1024], *host1; // initialize these accordingly
if (! (host1 = strrchr(szModName, '\\'))) strcpy(host, szModName);
else strcpy(host, host1 + 1);
FILE *fout = fopen("out.txt", "a+");
fwrite(host, 1, strlen(host), fout); fclose(fout); }
|
|
|
|
|
farshad.f wrote: heres is my code:
char host[1024], szModName[1024], *host1; // initialize these accordingly
if (! (host1 = strrchr(szModName, '\\'))) strcpy(host, szModName);
else strcpy(host, host1 + 1);
FILE *fout = fopen("out.txt", "a+");
fwrite(host, 1, strlen(host), fout); fclose(fout); }
So what's the problem? Do the variables contain the correct values? Do the functions return the expected results? Step through each statement using the debugger. Asking others (again) to do this for you will get you nowhere.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I am reading some value (path) from the registry. But that contains ~ operator in the path. But I want to display the full path. So kindly help me How can I translate ~ operator from file names or folder names using VC++
Regards,
K. Narasimharao
knarasimharao
|
|
|
|
|
GetLongPathName
--
======
Arman
|
|
|
|
|
Hi
The Wizard component that comes in with VC++ 6 does not let me add more than 9 pages ?
Why such an odd restriction and how to I get to add as many pages as I like ?
|
|
|
|
|
but u can added as many pages as u want by simply creating a new class derived from CPropertyPage and adding that page to the Property sheet using CPropertySheet ::AddPage()...
nave
|
|
|
|
|
You mean I have to add the pages MANUALLY ??
Why cannot I ask VC++ to create a wizard with 99 pages, if I want to ?
Do they still havr this limitation in VC++ 7 and 8 ?
|
|
|
|
|
Subhobroto wrote: in VC++ 7 and 8 ?
i haven't worked in VC++ 7
nave
|
|
|
|
|
So you have first hand experience of this problem since you used VC++ 6 ?
Let's continue this discussion on YAHOO! Messenger shall we ?
I'm going to email you
|
|
|
|
|
sorry i dont have yahoo here...
but one thing I hate with the VC++ wizard creating the property page is that, all the pages are created in the same file. So often i create only one page using the wizard and add all other pages manually. Also i dont know why they kept a limit of 9 in the wizard.
nave
|
|
|
|
|
So in order for me to try what you suggest I have to use the Classwizar to add a derived class and EVRYTHING that the Wizard wizard creates for me will be created (Messagemaps and all) ?
What so you say...
Can you send me a small such demo app (a few snippets to help me out will do)
And can I get back to you in the next 2 hours (because I will be trying your method during this time)
Please tell me...
|
|
|
|
|
Hi all,
I wish to develop a VC++ 6.0 project to send SMS from PC to mobile. Since i am very very new to this PC to mobile communication development.
Can anyone plz show me a pathway to follow to reach my goal?
Thanks in Advance.
Regards,
Ram
|
|
|
|
|