Search:

Type: Posts; User: inZane

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,598

    jigsaw

    Incorrect not all rubix cubes problems are solvable. Not if the rubix cube is taken apart at least. An inproper algorithm can result in this. I believe that the same goes for this 2 dimensional...
  2. Thread: Api/mfg

    by inZane
    Replies
    14
    Views
    988

    MFC uses api so how can one be better than the...

    MFC uses api so how can one be better than the other. I personally prefer to use MFC because of the reduction in time. Even if I did not use the MFC I would create my own classes to wrap the API. ...
  3. Replies
    1
    Views
    732

    ok a couple of things... 1. usr->username on a...

    ok a couple of things...

    1. usr->username on a char array(usr[60])
    the -> (arrow notation is used for accesing members of a struct
    or a class when the variable is pointer to the object...
  4. Thread: Directory?

    by inZane
    Replies
    3
    Views
    846

    try this program.... #include...

    try this program....



    #include<iostream>
    #include<string>
    #include<direct.h>

    using namespace std;
  5. Replies
    1
    Views
    981

    text boxes

    I had a hell of a time trying to read your code... try using the code tags next time [ CODE] foo()...[ /CODE] to make your code readible....
    Anyway any updates to textboxes must meet the following...
  6. Replies
    4
    Views
    1,219

    writing to the registry

    Are you using MFC?
  7. Replies
    2
    Views
    714

    why do all that instead of just using the pointer...

    why do all that instead of just using the pointer to the message to write.. it is already there...
  8. Replies
    6
    Views
    3,803

    sorry change this afx_msg void OnEdit(UINT...

    sorry change this

    afx_msg void OnEdit(UINT nId);


    to this..

    OnFile(UINT nId)...
  9. Replies
    6
    Views
    3,803

    menus

    That is just it... If you created your menu using the menu editor use the identifiers assigned by the menu resource editor... Check the properties of the item. Place function calls to handle those...
  10. Replies
    1
    Views
    905

    check out the tutorials at www.codeguru.com there...

    check out the tutorials at www.codeguru.com there is a few on these subjects...
  11. Replies
    1
    Views
    1,061

    rebuild the project....(rebuild all) and insure...

    rebuild the project....(rebuild all) and insure that you provide enough time for the dialog to display....
    Also why don't you create your CDialog derived class for more control....
  12. Replies
    14
    Views
    1,166

    classes should be declared in an h file...

    classes should be declared in an h file...
  13. Replies
    7
    Views
    1,605

    ((CMyPage*)(pSheet->GetPage(1)))->LoadCombo(m_pSet...

    ((CMyPage*)(pSheet->GetPage(1)))->LoadCombo(m_pSet);

    try casting it... or just use the page directly as you suggested
  14. Replies
    4
    Views
    890

    you might want to look into using kbhit() I have...

    you might want to look into using kbhit()
    I have not tested or intend to test the code below but I have done something
    #include<conio.h>

    char sEntry[4] = ""
    i = 0;

    while( i < 3 )
    {
  15. Replies
    2
    Views
    819

    hungarian notation

    Use the MFC functions for instance type in the function and study the declarations of their functions... also as in the previous message most MFC books explain this naming style .....
  16. Replies
    7
    Views
    1,605

    it depends on when it needs it... If you only...

    it depends on when it needs it...

    If you only need to load it once when the page is created...
    do it by Handling the OnInitDialog for the property page....
    other wise say for instance it changes...
  17. Replies
    7
    Views
    1,070

    look into handling the OnPaintMessage for the...

    look into handling the OnPaintMessage for the child windows...
    and erase the background from there each time this is the only way that I can think of....
  18. Replies
    17
    Views
    2,430

    showerror

    ShowError is user defined... you must define it declare it and define it your self...or leave it out....there are like a gazillion possible errors....
  19. Replies
    7
    Views
    1,605

    property page

    CPropertyPage is derived from CDialog. Therefore you can handle the OnInitDialog and load the list box there.... You would not want to handle it onSetActive since this could result in multiple loads...
  20. Replies
    2
    Views
    5,046

    formatted text

    you will probably have to use the gdi objects

    Device context and the like in combination with
    the Logical fonts LOGFONT ... which allows you to set many attibutes...such as strike out and...
  21. Replies
    3
    Views
    941

    using string

    its cin.getline( char *buffer, int length, char delimit = '\n')

    well not exactly with those variable names but you should get the picture....

    anyway also use the string class and you can do all...
  22. how about..... #include...

    how about.....



    #include<iostream.h>
    #include<stdio.h>


    void main( void )
    {
  23. jones book

    Might I suggest Practical Visual C++ by Que or isit Qeue.... anyway this is an awsome book... It was my first book I used for visual c++. I also used Jones MFC Programming with Visual C++. That...
  24. Replies
    4
    Views
    949

    the matrix

    check out the matrix sample zMan posted earlier this week...
    it has some console functions including the GoToXY and changing the text color...
  25. Replies
    2
    Views
    2,894

    why that's a handle.... just kidding... it...

    why that's a handle....

    just kidding...

    it works something like this... if this does not work email me tomorrow at fzamora@vvm.com

    I will send you a sample that works...

    if(...
Results 1 to 25 of 25