Hi EORCandy,
I'm glad you liked the idea. Actually it's a bit hard to picture it with words but there's a website called www.soccerbot.com and i want to create a table that looks like the tables on that site.
I'm thinking to use edit controls as cells to hold the values. But in order this to...
Hi,
I want to build a soccer league table. But i need a starting point so i need your advices. Where should i start? I'm thinking to derive my main class from CWnd. Can you recommend me a good tutorial for this purpose? Or a general tutorial for GUI development? Or should i use ActiveX?
I'm a...
Hi, i'm trying to writing a program to manage my mp3 collection. The interface is splitted in two parts and the left part contains a tree control where bands, albums and songs are shown.
Now i've a few questions :
1) I can add a right-click menu to entire tree but i want to add different...
Hi,
I have splitted main window and on the left frame, i have a child dialog.
There are 2 things i wanna do:
1) To size the dialog according to the screen resolution. For example if the user's screen is set to 1024x800, i want to set dialog's height to 800 on startup.
2) Since the height of...
Hi,
I'm working on a project with a tab control which has 2 tabs. Clicking on each tab activates an appropriate view class. When user clicks one tab the below code is activated in OnselChange function :
pMainFr->m_Splitter2.DeleteView( 1, 0 );
pMainFr->m_Splitter2.CreateView( 1, 0...
Hi, i have a modeless dialog in my application. I declared its variables private and i want to access them through Get & Set methods. When i press a button on the dialog i want to get the changed variables ( they hold values of textboxes ). So i use UpdateData(TRUE) in OnButton. But all i get...
yes, i did.
But now i found that, it's a bit embarassing to admit, i forgot to include the necessary header (afxtempl.h).
But my question about the parser is still valid. If you know a good one, please let me know.
Hi,
I desperately need a function parser for 3 ( preferably 4 ) variables. But i couldn't find one that suits my deeds. I only could find a parser for 3 variables written in Java and now i'm trying to translate it to Visual C++.
The question is what is the equivalent of HashTable in VC++?
I...
...finds the length for the first word, but i'm not sure if it is what you asked for as mentioned "specific code for MS C++ 6.0".
char *x = "This is my sentence";
int c = 0;
char v;
const char s = ' ';
int t = strlen( x );
for( int i = 0 ; i < t; i++ )
{
v = x[ i ]...
...I have a simple cube-rotating program( from DevX openGL tutorial). Mouse works fine when i have this piece of code
CPaintDC dc(this);
CBitirmeDoc* pDoc = GetDocument();
pDoc->RenderScene();
SwapBuffers(dc.m_ps.hdc);
in OnPaint method.
But i want to the cube to be drawn after i press a...
OK, i fixed it now.
If anyone is suffering from this problem too, check out http://www.codeguru.com/editctrl/edit_cr.shtml
Also, there's another way, much simpler than this one,
1) Override OnInitDialog()
2) Add : SetDefID(-1)
This solution is posted by Mr.Hao Xu in reply to that solution...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.