Thread: OutText - absolutelly newbie...

  1. #1
    Registered User
    Join Date
    Oct 2009

    Unhappy OutText - absolutelly newbie...

    Please, help me with some directions and advises!
    I'm working with small microcontrollers and WinAPI is very , very unknown.
    (Un)fortunately, i need program , which:
    - is talking with small device via RS232,
    - receives strings, analises these strings , reformats them and outputs on
    WindowsApp window.
    - keyboard input must be redirected to serial port.
    In other words - goal is to make PC based terminal for this small device (which has 240x64 pixels display and some keypad).
    In this moment i want to learn faster
    1) how to output text in graphic mode, how to control font parameters,
    2) how to control stretching of window - i assume to work in window 240x64 or 480x128 , but what happens , when one resizes window?

    Last few days i have played with WinBGI ( library, wrapper , which gives to me graphic control in known for me TurboPascal style). Problem here is size - i have about 2MB exe even on start, with 3 strings , drawed in window. Additionally , i'm not sure how stable is this library.
    On serial side i experimented with one simple library, but found problems - characters are lost, even on low speed. (Serial Communication for WIN32 (Event-driven)). Maybe i'm wrong, but library does not specify any buffers, when comport is initialised with CreateFile.( Does Window have long buffers by default?) So i'm planning to try other library - from Welcome to Ramon's homepage. But this is other story...
    I have Dev-Cpp installed and i want to learn.
    Any advice and comment, link to library/ wrapper will be useful for me.

  2. #2
    Registered User
    Join Date
    Mar 2005
    Mountaintop, Pa
    IMHO, WinBGI is a little dated. For starters, you may want to take a look at this Win32 tutorial. It'll help you learn how to create "lean and mean" Win32 apps.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. getting to grips with allegro and ms vc++ (newbie)
    By jimjamjahaa in forum C++ Programming
    Replies: 4
    Last Post: 11-18-2005, 07:49 PM
  2. Newbie in problem with looping
    By nrain in forum C Programming
    Replies: 6
    Last Post: 11-05-2005, 12:53 PM
  3. Some help for a newbie?
    By Ilmater in forum C++ Programming
    Replies: 23
    Last Post: 04-19-2004, 07:44 PM
  4. C++ newbie / linux not so newbie question
    By goldmonkey in forum C++ Programming
    Replies: 7
    Last Post: 12-13-2003, 12:27 PM
  5. Newbie Game Develpoers Unite!
    By Telenosis in forum Game Programming
    Replies: 10
    Last Post: 06-22-2002, 02:02 PM

Tags for this Thread