|
You're welcome, Richard.
The search seem to be temporarily broken (I'm unable to get some of the search options at all! I'll take this up with Chris).
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
"_$h@nky_" wrote:
any 1666 row of original file write in any other excel file.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi All
suppose i ve a class
class BAse
{public:
virtual void f();
};
class derive: public Base
{
public:
void myFunc();
};
in this case vtable ll be created for derive class or not?
Thank you all in advance.
|
|
|
|
|
kanungosudhansu wrote: in this case vtable ll be created for derive class or not?
In this case you get compiler errors...
Rearranging to make it compile
#include <stdio.h>
class Base
{
public:
virtual void f(){printf("hi\n");};
};
class Derived: public Base
{
public:
void myFunc(){printf("people\n");};
};
void main()
{
Derived d;
d.f();
}
You may verify that the virtual table is, of course, created.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Of course it will create, if one parent class has atleast one virtual function.
Anish C.V
http://www.iedetech.com
|
|
|
|
|
It'll have a vtable, but it may be the same vtable as the base class, as no virtual methods are overridden in the derived class.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hi Experts,
Please help me in this issue..
I need to zip a folder (working in vs2005). i have tried a lot used SHFileOperation() to copy files. But copying to a zip file is not yet worked. Please suggests the other ways to do it.
Regards,
Spk
|
|
|
|
|
|
No.
Use Win32 Native Zip apis from Shell
|
|
|
|
|
Hello,
I have a cricheditctrl window which is drawn on a cmdichildwnd but the border doesnt appear with WS_BORDER.
Pritha
|
|
|
|
|
I want the border to appear with CrichEditCtrl . Is there any other windows style to be used with WS_BORDER
|
|
|
|
|
Hi All,
I am filling numbers in a listBox.
for(int i =;i<20;i++)
{
CString string;
string.Format(i);
ListBox.Addstring(string);
}
the output is like
0
1
10
11
12
..
..
..
..
19
2
3
4
5
6
7
8
9
Can anypne tell how to get the numbers in order and not like this..
|
|
|
|
|
Hi hraman,
Remove the 'sort' style of your list box and everything will be alright.
Best Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Hi
I used a while loop and i am having the same problem
while(i<20)
{
CString string;
string.Format(i);
ListBox.Addstring(string);
++i;
}
Can u please be bit detailed on what u mean by Sort?
Thanks!!!!
|
|
|
|
|
By default, Visual Studio sets the LBS_SORT style (forcing alphabetic sort) when adds a Listbox control to your window. To remove it, in the Resource View pane, select the Listbox and then set the Sort property to False .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Thanks a lot .. i changed it and now its working fine
Thanks
|
|
|
|
|
You are welcome.
BTW: I really don't know why they think alphabetic sort should be the default.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: BTW: I really don't know why they think alphabetic sort should be the default.
As opposed to what?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
No sort.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Another approach would be to left-pad the numbers with a 0 . That may go against your design, however.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I made layered window which is base dialog. I put on the sub dialog upper layered window, but base dialog flashes by itself.
what's problem??
sample coude : http://zoo.wo.tc/test1234.zip
thank you.
|
|
|
|
|
Hi. Well... I'am trying to make my own transparent button, but i need to rotate it to. I tryed to use SetWorldTransform function to make a rotation, but it results in clean dialog. Pls tell me what do i do wrong?
void MPictureBox::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
{
CDC* pDC;
pDC = CDC::FromHandle(lpDrawItemStruct->hDC);
m_rtfmdc = new CDC;
m_rtfmdc->CreateCompatibleDC(pDC);
m_rtfmdc->SelectObject(m_bmp);
int Rotate=1;
XFORM xf = {0,1,-1,0,0,0};
int OldMode = SetGraphicsMode(*pDC,GM_ADVANCED);
SetWorldTransform(*pDC,&xf);
switch (MBStyle)
{
case MBUT_TRANSPARENT:
pDC->TransparentBlt(0,0,ButSize,ButSize,m_rtfmdc,ButSize*ImageNumb,0,ButSize,ButSize,RGB(0,0,0));
break;
case MBUT_SOLID:
pDC->BitBlt(0,0,ButSize,ButSize,m_rtfmdc,ButSize*ImageNumb,0,SRCCOPY);
break;
default:
MessageBoxA("Nepravilnie parametri prozrachnosti");
}
SetGraphicsMode(*pDC, OldMode);
m_rtfmdc->DeleteDC();
m_rtfmdc=NULL;
}
|
|
|
|
|
|
|
Hi
I designed (using VS class wizard) a class which was derived from CWnd. I did following in my View.
The Create function will return "0". According to MSDN, it failed.
pRulerX = new CRuler();
int ret = pRulerX->Create(_T(""), _T("rulerx"), WS_CHILD | WS_VISIBLE, CRect(0, 0, pRulerX->RulerHeight, pRulerX->RulerHeight), this, 55355);
From debug:
ret = 0;
pRulerX's m_hWnd is "NULL"
Thanks,
|
|
|
|