|
|
Good C++ tutorial needed, I suppose.
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: Good C++ tutorial needed, I suppose.
Nah, VB needed I suppose.
led mike
|
|
|
|
|
|
|
ROTFLMAO
These things always crack me up. We have a guy round CP that has something called Plain English. Same idea
FD 20 ; drawing a line and moving Yeah, that's way easier because FD is so obvious and you don't have to learn what it means and what it actually does. The entire concept is complete lost on me, I guess I'm just an idiot.
led mike
|
|
|
|
|
class MyClass
{
public:
static void Func()
{
}
};
...
MyClass::Func();
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
You also read the question upside-down as I did....
I didn't notice until CPallini answered.
manjunath k reddy wrote: how to call class methods without its object(instance) and static member functions.
So he wants to operate on an object, but he doesn't want the object.....
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Where's the "operate on an object" part?
Heh I'm still lost
More should clear it right up...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Mark Salsbery wrote: Where's the "operate on an object" part?
Well, that's my interpretation of wanting to call class members functions that are not static without having an object....
But put in other words, as above, it becomes more obvious and amusing...
Never mind Mark, it was supposed to be funny and it doesn't depend on
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
|
Well what did you think? Some questions are really tough out here. Really.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
|
Mark Salsbery wrote: I feel so unworthy
Don't Mark. I don't even understand how a question phrased "how...." can be answered 'no' to begin with....
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I have created application using CPropertySheet of MFC to create tab controls.
But all CPropertyPages are of different sizes.
So I want to make CPropertySheet resizable depending upon the size of CPropertyPage which is currently activated. But I didn't found any solution for this.
Please any one can solve my problem ?????????
|
|
|
|
|
The framework uses the size of the largest page to determine how much space to allocate in the property sheet for the property pages.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
So at runtime I can not change size of CPropertySheet ??
|
|
|
|
|
Use SetWindowPos() or MoveWindow() .
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
thanks, Last request I don't have that much knowledge to use this above functions, so can you send me any link which will illustrate "how to use these functions" along with some demo solution..
|
|
|
|
|
maheshbhoir.home wrote: ...can you send me any link which will illustrate "how to use these functions" along with some demo solution..
Can't you just for Google for such?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
It's ok.
If I got solution for this then I will post that solution.
Thanks..
|
|
|
|
|
You better make a good job on developing a better user interface. What also includes that, these pages have nearly the same size and workload of functionality.
Greetings from Germany
|
|
|
|
|
You are telling this, that means is there no any solution for this ?
Because many articles I found to make CPropertySheet resizable but all these are not dependent on page size but user can change size using mouse.
Ok thanks for your reply.
|
|
|
|
|
Ofcourse you can resize the Propertysheets with some code. You found some samples where resizing is done. Make a own version of it.
But remember: it is better to design the GUI so that resizing isnt needed.
Have you ever seen this feature by other well known programs?
Greetings from Germany
|
|
|
|