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!

Recent content by qedusa

  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

    Thanks!! I'll give it a blast!
  5. 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...
  6. qedusa

    Need help with keyboard shortcuts & accelerators

    Yep! Tried that - it doesn't work. I should mention this is a custom menu I've stuck in a dialog. Therefore the accelerator appears to have no effect.
  7. 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...
  8. 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...
  9. qedusa

    How can i Get MAC address from IP ?

    Hi, I can't answer this off the top of my head but I know where you could probably find the answer straight away. Go to Apple's web site at www.apple.com and click on the developer link. In there somewhere you'll find PDF versions of each of the "Inside Macintosh" technical reference...
  10. qedusa

    Win32 API or MFC?Please,I need some advice.

    Hi, I'm fairly new to programming in Windows. I've had a lot of experience programming on Macs in the past using the Mac Toolbox (equivalent of API). I've noted there are pros and cons to each method: Usign the toolbox (API) you can feel that you have more control over certain things PLUS you...
  11. qedusa

    first word

    I don't know of any specific function to do this but you could always test for the first 'space' character using a counter, eg: char* myString = "Hello world!"; char spaceChr = ' '; int x = 0; while (myString[x] && myString[x] != ' ') { x++; } // The length of...
  12. 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
  13. qedusa

    How do I store user preferences? HELP!

    Many thanks for that pointer - I'll give it a try!
  14. 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...

Part and Inventory Search

Back
Top