|
Hello,
I have a derived class
class ViewOfTable : public CScrollView : public TableView
{
void Create1();
};
void ViewOfTable ::Create1()
{
CreatetableView(this);
}
class TableView
{
CreatetableView(CView* p);
};
When I make a call to Create1(),the program is supposed to display a table on the window whose CView* pointer I have passed but nothing is displayed and I get a blank screen.
What must be the problem.There is some problem in sending the right pointer I guess.
Prithaa
|
|
|
|
|
prithaa wrote: There is some problem in sending the right pointer I guess.
Have you bothered to verify this?
TableView::CreatetableView( CView *p )
{
ASSERT(p->IsKindOf(RUNTIME_CLASS(ViewOfTable)));
...
}
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Always call the pWnd->ShowWIndow(SW_SHOW) after creating a MFC derived window class.
pWnd here is pointer to your TABLEVIEW or whatever
Sunil
|
|
|
|
|
sunilpv1982 wrote: Always call the pWnd->ShowWIndow(SW_SHOW) after creating a MFC derived window class.
Huh? Always?
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
I'm looking for some books and code about "Organize and Access data in an USB storage".
Do you have any about it? Please share with me.
thank you very much !
My email: nguyenvodich@gmail.com
Nothing Is Impossible !
|
|
|
|
|
What's so special about an USB storage? How would you organize and access files residing on another form of media, such as a hard drive, a floppy or a CD?
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
Because it's my project.
Thank you.
Nothing Is Impossible !
|
|
|
|
|
Hello. I tried to help you here! Maybe I misunderstood your question? Are you possibly trying to create som kind of file system for an USB storage? It would be a lot easier to help you if you could make your question more clear.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
I am trying to know "How infomation(data) are stored in an USB mass storage?"
(like Sector, track on HDD, or may be structure of USB drive).
Then I want to write a program that can show 'where is my file(for example, myfile.txt) on an USB drive?'. This Program then can access and modify this file (open, write, copy, delete...).
And what I am findind now is some books and codes about "Organize(arrange) and access data in an USB drive".
I hope somebody can help me.And I hope you are.
Thank you very much !
Nothing Is Impossible !
|
|
|
|
|
how to performe IPAddress valition with editbox.i want to create a dialog look like real netwok configuration window(appear when using local area connection setup).for that what kind of validation is to performed on editbox
give MFC sample program.
|
|
|
|
|
you already have a control that looks like an advanced editBox, which is for IP address typing...
search for the CIPAddressCtrl
|
|
|
|
|
plz give some sample program for using CIPAddress control.
|
|
|
|
|
have you bothered searching the web ?
Codeproject[^] for instance
|
|
|
|
|
It's a window class called SysIPAddress32 , and you can utilize it via MFC's CIPAddressCtrl class.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Dear all,
Suppose i have msi package A and B. Is it possible to call msi package B from msi package A.
Manjunath S
GESL
Bangalore
|
|
|
|
|
very well. u can make B as a silent installer also from A.
Sunil
|
|
|
|
|
any tutorials regarding this?
Manjunath S
GESL
Bangalore
|
|
|
|
|
not exactly.. it was a result of trial and error tried at my place.
Sunil
|
|
|
|
|
Hi,
In some installation cds ,there will be mulitple msi packages,but if we click the one (main one)msi package ,it install everything.Can i know how do they achieve that...
Manjunath S
GESL
Bangalore
|
|
|
|
|
Simply by executing the .msi files?
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
Hi,
1.How to install two msi package at a same time (whetheir i have to use any .exe for this)?
2.How to pass paramters to msi package in command prompt?
Manjunath S
GESL
Bangalore
|
|
|
|
|
how to configure net through MFC program using netsh
-- modified at 6:16 Wednesday 7th March, 2007
|
|
|
|
|
Once you have a string properly formatted, simply call ShellExecute() or CreateProcess() .
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi All,
Are there APIs to detect whether the internet connection from WiFi or Ethernet or Dialup connection?
Sunil
|
|
|
|
|
Do you mean like this?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|