Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: forlorn
  • Content: Threads
  • Order by date
  1. forlorn

    Custom Control (Soccer League Table) From Ground-Up

    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...
  2. forlorn

    Some questions on CTreeCtrl

    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...
  3. forlorn

    Sizing Dialog And Scrollbar

    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...
  4. forlorn

    What is so special about the main View class?

    Hi, I am using a splitter to divide the screen into 2. In each part i use a CTabCtrl driven class. So i aim to place 4 View classes. The problem occurs when i try to place the (AppName)View class (I don't know the term used for this class, sorry). Here are the code snippets: // Application's...
  5. forlorn

    Working With Multiple View Classes

    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...
  6. forlorn

    Updating Modeless Dialog's Variables

    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...
  7. forlorn

    How to use CMap

    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...
  8. forlorn

    OpenGL Rotating Problem

    Hi, 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...
  9. forlorn

    Why do dialogs close when pressing enter in edit box?

    ...and how can i avoid it? Thanks.
  10. forlorn

    Catching Button Clicks On A Dialog From Doc Class

    Hi, I have a dialog which have a button on it. I want to do one of the following : 1) As the title tells, catch the button click from doc class. As an instance of this dialog is a member variable of doc class. like, if( dlgInstance.m_buttonInstance. ...( something like OnClick() ) {...
  11. forlorn

    Unresolved External Symbols

    Hi, i'm working on a project that's supposed to draw 3D plots. So i have a header file that includes gl.h and glu.h which reside in vc98\include directory. But i get link errors such as : OpenGL.obj : error LNK2001: unresolved external symbol __imp__glEnable@4 And same error for the rest of...
  12. forlorn

    How to return class from that class' member function?

    Hi, i'm trying to write a simple matrix class. I want to a add a function that transpozes the matrix and returns the transpozed one. CMatrix CMatrix::Transpose() { CMatrix mat; int temp; temp = m_ROW; m_ROW = m_COL; m_COL = temp; (A) mat = new CMatrix( m_ROW, m_COL )...
  13. forlorn

    How to access a variable from another class?

    Hi, i have an int variable in a class derived from CDialog, and i need its value in another dialog class. Aside from declaring it static is there a way to access this variable? Thanks in advance.

Part and Inventory Search

Back
Top