Search:

Type: Posts; User: Alextrons

Search: Search took 0.01 seconds.

  1. Thread: 3D Array

    by Alextrons
    Replies
    4
    Views
    1,933

    So meaning all dynamic class array ex. CArray,...

    So meaning all dynamic class array ex. CArray, CObArray, etc. are probably created using new, malloc, calloc, & realloc and probably the one who created it is expert using it?


    Thanks for the...
  2. Thread: 3D Array

    by Alextrons
    Replies
    4
    Views
    1,933

    No! I found already what I really want and this...

    No! I found already what I really want and this is the link:

    http://www.codeproject.com/cpp/extcol.asp#xx29237xx

    however, I don't think it will run in Windows9x.

    malloc and new are good...
  3. Thread: 3D Array

    by Alextrons
    Replies
    4
    Views
    1,933

    3D Array

    Is anybody know how to create a 3 dimentional dynamic array without using new and malloc? This array should grow automatically when we add an item.


    Thanks,
    Alextrons
  4. Replies
    2
    Views
    2,369

    Yeah! Maybe you're right and I found this site: ...

    Yeah! Maybe you're right and I found this site:

    www.codeguru.earthweb.com/buttonctrl/ccaptionbutton.html

    Thanks
    Alextrons
  5. Replies
    2
    Views
    2,369

    Minimize, Maximize and Close button

    Hi, I'm just curious. Is there a way to get the Window handle (hWnd or CWnd) of Minimize, Maximize and Close button of a window and can we put a bitmap on it? How?


    Thanks,
  6. Replies
    1
    Views
    22,205

    Use the ff. code: ...

    Use the ff. code:

    GetDlgItem(BUTTONID)->EnableWindow(TRUE);
  7. Replies
    7
    Views
    1,169

    >>I want the user to be able to open only 2...

    >>I want the user to be able to open only 2 documents at a time.

    Just do it this way:

    1. In your class CChildFrame, add a private static integer variable just called m_FrameCtr like; static...
  8. Replies
    7
    Views
    1,169

    Tesita, For your problem of highlighting text,...

    Tesita,

    For your problem of highlighting text, change the base class of your view to CEditView. Its all there.

    Try it...
  9. Replies
    8
    Views
    2,652

    Assuming your program is dialog base and you're...

    Assuming your program is dialog base and you're using MFC, try this:

    declare first 3 variable like these:

    COLORREF m_crText;
    COLORREF m_crBackground;
    CBrush m_brush;

    in your OnInitDialog...
  10. Thread: Declaration

    by Alextrons
    Replies
    3
    Views
    1,165

    Sorry forge I have no Idea of using public inside...

    Sorry forge I have no Idea of using public inside .lib file. I'm using Borland C++ 4.5 and I have no idea also with ICC. Maybe somebody could help us.
  11. Thread: Declaration

    by Alextrons
    Replies
    3
    Views
    1,165

    Inside .lib file all functions and variables are...

    Inside .lib file all functions and variables are treated normally same as ordinary or as if it is included in your program. Just make sure that you add your .lib file into your project and you also...
  12. Replies
    0
    Views
    805

    Most Recent Used file

    I have a simple SDI program using MFC that open some file. There is no problem with its operation but I observed that even I already open a lot of file the Recent File in the menu is always disable....
  13. Replies
    9
    Views
    1,914

    Ah...Ok thanks...

    Ah...Ok thanks...
  14. Replies
    9
    Views
    1,914

    So can you please teach me how to do it in...

    So can you please teach me how to do it in Windows.
  15. Replies
    9
    Views
    1,914

    So can teach how to do it in Windows?

    So can teach how to do it in Windows?
  16. Replies
    20
    Views
    4,908

    Since you are using MFC, use CString for your...

    Since you are using MFC, use CString for your buffer to erase the doubt and start first with the simple MessageBox function and then edit afterwards, like the code below.

    //char buff[1024];...
  17. Replies
    9
    Views
    1,914

    Thanks Adrian for the idea, but how about _inp()...

    Thanks Adrian for the idea, but how about _inp() and _outp() functions? Can we use this to get the address of LPT1? And you mean that there is no "ptraddr=(unsigned int far*)0x00000408; " kind of...
  18. Replies
    9
    Views
    1,914

    Pointer to memory

    I found the code below as a DOS program and I need it to include in my MFC Windows program but I got an error of "Memory could not be read", Is there another way to handle this in Windows?

    This is...
  19. Thread: Interrupts

    by Alextrons
    Replies
    1
    Views
    1,263

    Interrupts

    I already programmed an interrupts in DOS environment but I don't know how to do it in Windows. Could someone help me how to do it? example: How to handle the timer tick (0x1C) interrupt and hardware...
  20. Thread: Mutex

    by Alextrons
    Replies
    2
    Views
    2,666

    As an addition info; Mutex is derive from two...

    As an addition info; Mutex is derive from two words "Mutually" and Exclusive". It is very usefull to synchronize threads running in different processes.
  21. Replies
    0
    Views
    1,231

    About Color in MFC

    Hi, I'm using Visual C++ 6.0 and I have a program that have a color that I would like to fade and I beleive that changing the luminance of RGB color is solution. Is there anybody know how to alter...
  22. Replies
    3
    Views
    1,212

    Thank you very much for the idea. Now I know the...

    Thank you very much for the idea. Now I know the limitation.
  23. Replies
    3
    Views
    1,212

    Thread programming behavior

    Hello,
    Right now I'm very new to a multi-threading programming and from the example I already applied it to my simple program and I found out that when I set my new thread to a HIGHPRIORITY,...
Results 1 to 23 of 23