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 Wanet Telecoms Ltd 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: qedusa
  • Content: Threads
  • Order by date
  1. qedusa

    Display problems

    Hi, we have an old PC that was a bit chock-a-block and very slow. We decided to completely wipe the hard disk and re-install Windows 95 and everything else from scratch. We successfully re-installed Win95 and now the thing boots up in seconds rather than minutes. Only one problem though..... I...
  2. qedusa

    WM_KEYDOWN OnKeyDown() Problem.

    I'm having difficulties determining the actual ASCII character code for keys pressed. If I press 'h' key the ASCII code should be 104 (lowercase h) but I'm always getting the code 72 which is uppercase 'H'. Can anyone explain why this is and how do I manipulate it if I can't be sure what case...
  3. qedusa

    Update events in dialogs?

    I've created a dialog but which I've also manually drawn things to (including a bitmap image). The only problem is, when the dialog is obscured (by another window for example) and then brought back to the front, no updating occurs. How do I catch the update event in the dialog so I can tell...
  4. qedusa

    Drawing shapes and lines

    Hi, I can draw the shapes and lines, etc OK but I want to know if there's a way I can draw these offscreen and then copy them instantaneously to the screen so the drawing process appears smooth and instant just like drawing a bitmap using BitBlt() function. As an example, say I want to draw a...
  5. qedusa

    Need help with keyboard shortcuts & accelerators

    Hi, I'm having trouble assigning keyboard shortcuts and accelerators to a menu I've created. I've created a menu resource and an accelerator resource. I choose the menu item ID in the accelerator resource and assign a keycode character. When I choose ClassWizard it detects I have inserted the...
  6. qedusa

    Need help masking images in CImageList

    Hi, I'm just about ready to tear my hair out with this. I'm trying to draw a "masked" bitmap using CImageList. I've tried just about every combination and everything I can think of. Also, the text books not very clear nor is Microsfts help. Here's the latest piece of code - if someone...
  7. qedusa

    How do I mark a file as "hidden"

    Hi, can anyone tell me how to mark a file as a "hidden" file so it's invisible? Thanks
  8. qedusa

    How do I store user preferences? HELP!

    This may seem like a really silly question but let me explain... I'm porting a program from Mac to Windows. I can use the strict ANSI routines to read and write a preferences structure to disk no problem. However, not being a seasoned PC user (yet) I don't know where in the system folder all...
  9. qedusa

    Manipulating the 'Start' bar

    Does anyone know how I can make a user's 'Start' bar hide or show at will?
  10. qedusa

    Need help drawing shapes to window/dialog!

    I'm having serious trouble drawing simple shapes to a dialog repeatedly. I can draw a shape no problem but if I keep drawing shapes, etc to the same window repeatedly (in a while loop for example) it eventually stops with a 'half' message: "A resource was not"!!! What does this mean...
  11. qedusa

    What's the best way to delay or set a timer?

    I want to set some kind of delay or timer between doing something, for example: // Do something // Now wait for half a second // Now do something else What's the best way to do this?
  12. qedusa

    Drawing bitmaps without memory leaks. HELP.

    I'm trying to draw a bitmap image repeatedly. However, it crashes when it's draw the same image about 1,000 times - I suspect due to a memory leak. I need someone to tell me the best way to display a bitmap and then destroy the associated memory immediately afterwards. Any sample code anyone?
  13. qedusa

    Adding speech capabilities to software. HELP!!

    I'm trying to port one of my Mac programs to Windows using VC++. I need to be able to output text to speech but can't find any useful info in VC++ on the subject. For example, I can do something on Mac like this: #include "Speech.h" SpeakString("Hello World!"); And it will...
  14. qedusa

    Obtaining high color bitmaps in dialogs and windows

    I placed a question in this forum a few days ago asking if anyone knew how to get a bitmap resource to show in a dialog with more than 16 colors. I since worked out how to get MORE than 256 colors (ie. 16bit/32bit)to work. When you go under the menu to create a new Bitmap resource, actually...
  15. qedusa

    Displaying Color Bitmap Images In Dialogs

    OK, I've searched the archives and only found two questions regarding same subject - none with a response. I'm trying to display a color bitmap in a dialog. I can do this OK from a resource BUT Visual C++ changes the image to just 16 colors!!! It looks terrible! Someone must know how to do this...
  16. qedusa

    Obtaining a CDC* to a dialog - HELP!!

    How do I create or obtain a CDC* to a dialog in a dialog based MFC project. The closest thing supplied by MFC is a CPaintDC. When I try to create my own CDC* to draw things to the main dialog, it draws using global coordinates and also draws outside the actual dialog. This is probably a silly...
  17. qedusa

    Adding things/views to CTabCtrl Tabs. HELP!!

    Hi, I'm a brand new Visual C++ user and I'm having trouble trying to get things in my tab display areas. On some tabs I would like to display 'dialog' style views. On others, I would like to display general information (CScrollView??). I have created the tabs no problem and can identify tab...

Part and Inventory Search

Back
Top