|
For a line to be both, horizontal and vertical, it would have to be diagonal, right? Otherwise, I would have just suggested using a static control either 1 pixel wide or 1 pixel high.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
DavidCrow wrote:
For a line to be both, horizontal and vertical, it would have to be diagonal, right?
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
hmmm, how about a corner of a square, there the line is both horizontal and vertical.
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
|
hi
I have two mfc applications.on clicking a certain button on the toolbar of the 1st mfc application i want to reflect some data onto a file that is included in the 2nd mfc application(i.e. under external dependencies of the 2nd mfc app.) and execute the 2nd mfc application without actually building/running the 2nd mfc application.
can anyone help me
thanks in advance
archana
|
|
|
|
|
So which part are you wanting help with: responding to a button click, writing to a file, or running another program?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Hi,
I have a smiliar problem too.
I have 2 MFC using single document interface. I have 2 programs. But on click the button on the first program, can the program prompt out the second window to let it perform its operations?
Thanks for ur help in advance
dreamerzz
|
|
|
|
|
dreamerzz wrote:
...can the program prompt out the second window to let it perform its operations?
I do not understand this. Can you explain further?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
For example, everytime in order for the program to run, we need to build and compile it right?
But can we skip this step?
|
|
|
|
|
dreamerzz wrote:
For example, everytime in order for the program to run, we need to build and compile it right?
Only if any of the source files changed. If none have, then a rebuild is not necessary.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Hi,
Thanks a lot for ur advice.
dReaMerzZ
|
|
|
|
|
Is there any way to create a file on an FTP server. It would appear from the documentation in MSDN that you have to create a zero length file locally, upload the file to the FTP server and then open it for writing. Am I missing the obvious?
Systems AXIS Ltd - Software for Business ...
|
|
|
|
|
FTP is for only file transfer, I dont think its possible to open a file in the remote server using FTP or append some data to the already existing file at the server.
Only think you can do is create the file locally write whatever you want and then transfer the file to ther server.
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
I am just coming into DirectX with VC++ , can anybody tell me from where to start... what resources can be good for new comer and where i can i get it...
AD
|
|
|
|
|
Starting from the SDK is a way to go, or sites like
www.gamedev.net or google
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
He better use the SDK, gamedev.net has many dubious articles for beginners.
Don't try it, just do it!
|
|
|
|
|
How to create and register service in Visual C++?
Proper Planning is way to success
|
|
|
|
|
If you choose ATL-Service as the project type it will register for you.
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
thks a lot
Proper Planning is way to success
|
|
|
|
|
|
I need to know how many 'potentialy-visible' items are in the tree.
Lets say for instance we have 2 items at the first level and one of them has 2 children. if they are both not-expanded the number is 2, if one is expanded the number is 4.
Sounds simple, but it doesn't look like there's a method to return this.
GetCount() returns the sum of items in the tree, even the folded ones.
GetVisibleCount() returns the amount of items placeable in the tree window.
thanks
|
|
|
|
|
You need to traverse the tree with a recursive function and checking each item's state mask using GetItemState(hItem, TVIS_EXPANDED) to see if the TVIS_EXPANDED flag is set. If the flag is set then increment a counter.
Kelly Herald
Software Developer
MPC
|
|
|
|
|
I was hoping for something supplied by CTreeCtrl
It's just that doing this every-time (and it happens many times) seems expensive. perhaps i'll monitor expansion/collapsion myself and keep a count.
|
|
|
|
|
I've ended up using:
int CMyTree::GetNumPotentiallyVisibleItems()
{
int count = 0;
HTREEITEM ti = GetRootItem();
while (ti)
{
ti = GetNextVisibleItem(ti);
count++;
}
return count;
}
|
|
|
|
|
I've finished a recent project and I need to distribute to others. I've compiled it as release however the application refused to work on a machine without Visual C++. So how would I solve this problem. Some features that may be causing the problems are the ActiveX control FlexGrid, the modeless dialogs.
Any suggestions much appreciated
Kind Regards
Caoimh
|
|
|
|