|
But I need to add a tree control outside the property sheet and have nodes on the tree add/remove pages from the property sheet accordingly. I think this can't be done with the CPropertySheet as a main window.
Will look at the examples tho.
Thanks
|
|
|
|
|
Gotcha. It always helps to state all the necessary requirements so that unnecessary suggestions can be avoided.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
You can create the property sheet as a child of your main dialog. See this[^] MSDN link for instructions. Alternatively, you could use a CTabCtrl and a bunch of child windows (a la "property pages"). See this[^] thread for info. Personally, I prefer the latter.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
I'm trying to put together a game to simulate the game show who wants to be a millionaire.
The aim is to make 15 consecutive guesses. The player starts with a minumum prize of £0. After 5 and 10 correct guesses, the money won becomes a new garunteed minimum. An incorrect guess ends the game and sets the player winnings to the previous minimum garantee. At any point in the game the player may opt to stop playing and take the money won so far. The player also has up to three lifelines - the opportunity to request a different starting number.
Has any body work on anything like this?
I would appreciate any help with coding I'm very new to C++ but have been ask to do this as part of a project.
|
|
|
|
|
Yes, I want to be a millionaire!
I'll be happy to write the code for your project, relieving you of the effort of doing your own work and ensuring that I'll never have to worry about losing my job to you. My rates are very modest, and I can guarantee speedy delivery of the finished item. I can make the source code (and a compiled program) available for download from a password protected site, so curious system administrators won't see large email attachments in your inbox.
I require 50% of my fee up front (USD cash only). The remainder is due upon completion. My rates are as follows:- Windows programs: $250/hr.
- Unix/DOS (command line) programs: $210/hr.
I estimate 3 days of effort for your assignment, for a total of 24 hours. A Windows program will cost you $6000. A command line version will run you $5040. I can use any font of your choice to write the source code! And if you email me within 30 minutes of this note's timestamp, I'll take 10% off my fee!
Email me now! Operators are standing by!
PS: Other CodeProject members may offer similar services at lower rates. Don't be fooled - my source code is provided in a leather binder, and my compiled applications are finished in burled walnut.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Hi!
I'm a begginer and i have a small question. In the following while loop, it seems that it doesn't find the end of archini, and it prints "agarrar" (archini's last line) for ever. It's an infinite loop. What am i doing wrong? Thanks!!
while (~(feof(archini)))
{
fgets(temp,15,archini);
printf ("%s",temp);
}
archini:
[verbos]
salir
explorar
agarrar //end of file
program output:
agarrar
agarrar
agarrar
.
.
.
|
|
|
|
|
Try this instead
while (!(feof(archini)))
{
fgets(temp,15,archini);
printf ("%s",temp);
}
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
|
Why are you using the bitwise NOT operator? It's out of context here. How about this instead:
while (! feof(...))
{
...
}
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
David how is this written in code?
|
|
|
|
|
Kids, just say no!
--
Ich bin der böse Mann von Schweden.
|
|
|
|
|
while(!success_writing_your_own_code())
{
int retval;
retval = try_solving();
if(!retval)
{
<a href="http://www.codeproject.com/script/comments/forums.asp?forumid=1647&select=771680&df=100&app=50&msg=771680#xx771439xx">refer_david_crow_program_spec();
</a>
}
}
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
I would do it like so:
printf("this");
Sonork 100.11743 Chicken Little
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
Within you lies the power for good - Use it!
|
|
|
|
|
Hello,
does anybody know how to retrieve the icons for the installed programs, the way Windows Add/Remove programs does?
Thanks in advance!
|
|
|
|
|
How about ExtractIcon() ?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
I've tried with extract icon, it doesen't work for all the apps.
|
|
|
|
|
or SHGetFileInfo(...)
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
This should be the answer!!! Thank you all!
|
|
|
|
|
Try it before you conclude, and let me know wheather it worked ?
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
I'm working on windowless control and came up to a problem of geting the parent form on which I planted my control. Is this posible to obtain and if it is how?
Fear not the dark within this night
Beneath the sky of deadly light
Of raging fire seen from afar
The fear inside of who you are
|
|
|
|
|
There is no such thing as parent form, perent window yes...
you can get it if you use
GetParent(...);
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
Hi,
How can I get the Open File Dialog Box .I use MFC and MVC++ 6.0.
Thanks.
Deepak Samuel.
|
|
|
|
|
Construct a CFileDialog object.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Hi,
How can we add the file names in a directory to a combobox ?
Thanks,
Deepak Samuel
|
|
|
|
|
Use the AddString() method. If you are not using MFC, then send the control a CB_ADDSTRING message.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|