Search:

Type: Posts; User: Rutabega

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,924

    After trying everything I could think of to get...

    After trying everything I could think of to get this to link, I gave up.

    However, I did manage to get this to work by using LoadLibrary() and GetProcAddress().
    I then call the functions by using...
  2. Replies
    3
    Views
    1,924

    I am linking the .lib file, and including the .h...

    I am linking the .lib file, and including the .h file where appropriate. Yet I still get an 'undefined reference' error when linking. I don't think Watcom is able to match up the names of the...
  3. Replies
    3
    Views
    1,924

    DLL linking in Watcom

    Hello all,

    Basically I'm pretty clueless about DLLs. I know the theory, it's just linking to the functions in the DLL and using them that has me baffled.

    This is my first attempt to do this,...
  4. Replies
    3
    Views
    955

    Yes, using mickeys. Mickeys are individual...

    Yes, using mickeys.

    Mickeys are individual movements of the mouse on the hardware level. The number of mickeys per pixel is configurable and this is one way that mouse acceleration can be done by...
  5. Replies
    0
    Views
    2,055

    Inserting text into MDI program

    The program:

    I'm writing a program to ease typing of accented characters (i.e. or ) so that the user doesn't have to repeatedly pick them from the character map.

    In order to do this I...
  6. Replies
    6
    Views
    1,903

    If he's programming for DOS, then he almost...

    If he's programming for DOS, then he almost certainly doesn't have any drivers for it, so the highest modes available are either 320x200x256 or 640x480x16. I would imagine that there have never nor...
  7. Replies
    6
    Views
    1,903

    If 640x480x16 is the highest your adapter can...

    If 640x480x16 is the highest your adapter can handle, then there is no way it can do 800x600x256.

    Your likely choices are:

    640x480x16
    320x200x256
    320x200x16

    and maybe some 320x240 or...
  8. Replies
    0
    Views
    1,607

    Problem w/ CreateWindowEx and child window

    I'm having problems getting child windows to behave correctly when creating them with CreateWindowEx. They never seem to take focus (though elements within the child such as edits will take focus)...
  9. Replies
    3
    Views
    1,253

    They are called 'mickeys'. Try here>...

    They are called 'mickeys'.

    Try here> http://www.missouri.edu/~finaidtk/mcenter.htm

    A tip: if you try to do any further googling, search for

    mouse mickeys pixel

    otherwise you get alot of...
  10. Thread: highlight

    by Rutabega
    Replies
    2
    Views
    815

    Try this link ...

    Try this link

    http://www.catch22.net/tuts/editor04.asp
  11. I believe you should change your ...

    I believe you should change your

    Stud1_ptr->(Course_ptr->Number)

    to

    Stud1_ptr->CourseList->Number

    since the Stud structure that is pointed to by Stud1_ptr does not contain an element...
  12. Replies
    32
    Views
    4,302

    Hmm, this is fun. 1. What is the output of...

    Hmm, this is fun.

    1. What is the output of printf("%d")
    Who knows? (It gave me 48)

    3. Difference between "C structure" and "C++ structure"
    One is from C, the other from C++

    17. Talk...
  13. //constrains window size to 640x480 case...

    //constrains window size to 640x480

    case WM_GETMINMAXINFO:
    {
    LPPOINT lppt;

    lppt = (LPPOINT)lParam; // lParam points to array of POINTS

    lppt[3].x = 640;
    ...
  14. Thanks erikj, That actually did work about...

    Thanks erikj,

    That actually did work about 99%, and the 1% you really don't notice unless you count pixels.

    ________
    Rutabega
  15. Keep look the same at different resolutions?

    What methods are available to keep a Windows program looking the same despite the resolution they are run at?

    I'm writing a program on my computer with 1600x1200 resolution that, when run at a...
  16. Replies
    2
    Views
    8,483

    Thanks man!! That worked perfectly. I was...

    Thanks man!!

    That worked perfectly.

    I was kind of amused by this note in msdn for EM_SCROLLCARET

    " Return Value
    The return value is not meaningful. "

    Thanks again
  17. Replies
    2
    Views
    8,483

    Setting text cursor position inside edit

    Is it possible and, if so, how is it done?

    At the startup of my program I create an edit and then fill it with some text. I then set the focus to the edit so that the text cursor will appear...
  18. Replies
    3
    Views
    9,701

    Thanks for your help, I got it to work correctly....

    Thanks for your help, I got it to work correctly.

    It seems that the first example code I used had me declaring a PCONSOLE_SCREEN_BUFFER_INFO variable which is actually just a pointer. When I...
  19. Replies
    3
    Views
    9,701

    Get cursor position in Console

    I am using the GetConsoleScreenBufferInfo function in an attempt to get the position of the Console cursor (the text cursor, not the mouse cursor). The function however returns error number 12...
  20. Replies
    1
    Views
    967

    What is the newest version of MFC ?

    What is the newest version of MFC ?
  21. Replies
    1
    Views
    1,291

    Latest and greatest version here. I know...

    Latest and greatest version here. I know everyone was waiting impatiently for this :rolleyes:

    Fixed a few more potential bugs and some newly created ones. Added checking for 'splits' to the AI....
  22. Replies
    95
    Views
    11,175

    "I had to fill over the background's for...

    "I had to fill over the background's for Rutabega's images to get them to work"

    Hmm, that's strange. They all worked for me as far as recall. It could be that I saved them as just 16 bit bmp's...
  23. Replies
    95
    Views
    11,175

    Yes Blizzarddog, those are my graphics. I...

    Yes Blizzarddog, those are my graphics.

    I tried MS Paint, but found it to be too limiting in annoying ways. So I'm using Adobe Photoshop. I'm not using any of the 'special' features though, just...
  24. Replies
    6
    Views
    1,571

    Can you not use the int86() function? From the...

    Can you not use the int86() function?

    From the Watcom help file:

    int86
    Synopsis:



    #include <i86.h>
  25. Replies
    3
    Views
    1,285

    None that I am aware of. Variable argument...

    None that I am aware of.

    Variable argument function calls happen just like any other and the arguments are passed in the same manner. It is just up to the programmer to determine how many and...
Results 1 to 25 of 38
Page 1 of 2 1 2