Search:

Type: Posts; User: leojose

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,518

    I used the FindWindowEx to get the handle of the...

    I used the FindWindowEx to get the handle of the edit text box, but what I actually need to enter a text in it is its ID which is of type int. How do I find this ID then?
  2. Replies
    6
    Views
    3,518

    The window is not created by me, so I don't have...

    The window is not created by me, so I don't have the handle to the edit control (only the handle to window). Can I still use SetDlgItemText?
  3. Replies
    6
    Views
    3,518

    Automatically enter text in a dialog box

    Hi all,

    Is there any API that will enable me to enter a string in the text area of a dialog box?
    As shown in the attached figure, I would like to enter the text c:\temp.ps in the text area as and...
  4. Replies
    1
    Views
    1,525

    Getting the printer status

    Hi all,

    I would like to programmatically get the current status of a printer.

    What I tried was to use GetPrinter() to load the PRINTER_INFO_2 structure into a buffer say pi2. Now I monitor the...
  5. Replies
    5
    Views
    2,971

    Thanks for verifying the source of the problem...

    Thanks for verifying the source of the problem anonytmouse
    Luckily for me, I am using a flash application, and unlike IE it does update on a WM_DEVMODECHANGE. Hence it solve my problem :)
  6. Replies
    5
    Views
    2,971

    I think you are right, the code I posted only...

    I think you are right, the code I posted only works on a 'local' level


    Exactly...and the link you provided was really useful! It did change the printer settings as desired

    But there is a...
  7. Replies
    5
    Views
    2,971

    changing property (layout) of a printer

    I am looking for a method to change the Page Layout (Landscape or Portrait) property of a printer programmatically.

    I got this piece of code from somewhere which seems to run as expected. It sets...
  8. Replies
    0
    Views
    974

    Installing Camera driver programmatically

    Hi all,

    What I have is a .inf and .sys file of a Camera driver. I would like to install it on my WinXP machine programmatically.
    Earlier, I managed to install a printer driver (.inf and .ppd...
  9. Replies
    0
    Views
    1,782

    Bypassing Print Dialog Box

    Hi all,

    I would like to develop an application in Windows (using VC++) that will prevent the Print Dialog box from appearing whenever a print command is issued from another application. This other...
  10. Replies
    3
    Views
    1,027

    Hi Ken, Your suggestion worked! actually i...

    Hi Ken,

    Your suggestion worked!
    actually i set the value within Project settings...

    Thanks
  11. Replies
    3
    Views
    1,027

    SetLayeredWindowAttributes not recognized!

    HI all,

    I am trying to use the function SetLayeredWindowAttributes() but unfortunately MSVC doesn't recognize it
    I use VC++v6.0 with Windows Server 2003 SP1 SDK installed.
    i have also include...
  12. Replies
    1
    Views
    872

    Handling a window

    Summary:
    When we issue a print command to a window, the very first thing that appears is a selection window named 'Print' in which we select the printer that we want to use.(I'm using a Virtual...
  13. Thread: swf2bmp?

    by leojose
    Replies
    3
    Views
    1,586

    no luck there...

    yes...i did try searching at Google first but as I couldn't find one I decided to post in the forum. I did run into some freewares and applications (swf2avi) that convert swf to bmp,jpg etc. but I...
  14. Thread: swf2bmp?

    by leojose
    Replies
    3
    Views
    1,586

    swf2bmp?

    Hi all,

    Are there any source codes available in C/C++ that can convert a .swf file to .bmp?
  15. Replies
    4
    Views
    1,505

    problems again

    I have managed to capture contents of hidden windows and dialog boxes. But just as I had feared, the technique used doesn't help me in capturing any 'Shockwave Flash Object' that has been added to...
  16. Replies
    4
    Views
    1,505

    good progress...

    alright, here's the update

    As I will be generating my own window, I decided to go with technique number 1 as mentioned in that article.
    It worked just as I wanted, but there are few issues left...
  17. Replies
    4
    Views
    1,505

    hmm...looks interesting!

    Hey anonytmouse...

    I think this might contain just what I want!
    Will try it and come back to you in a couple of days (day off at office :))
  18. Replies
    4
    Views
    1,505

    Capturing window content

    Hi all,

    This is what I have:
    A program that will take the handle of a window that is in the foreground and then take a printout (in postscript format) of whatever is visible in that window.
    ...
  19. Replies
    2
    Views
    1,453

    more explanation...

    Just like we add buttons,picture boxes etc. I am adding a Shockwave Flash Object(by including ocx component) to a Form. I then select a .swf file and link it with this Flash object. My aim is then to...
  20. Replies
    2
    Views
    1,453

    Drag n Drop on Flash component

    Hello All,

    I am a newbie into .net and want some help in writing a code that will allow me to run an swf file when I drag n drop a picturebox on it.

    I saw that in flash components properties,...
  21. Replies
    8
    Views
    5,354

    hmm...it works fine. Will try it out in my...

    hmm...it works fine. Will try it out in my code... although my method also gives the same results.
    But there was something I was really hoping that this code would be able do....to restore an...
  22. Replies
    8
    Views
    5,354

    Yes, I did use CopyCursor, as it is stated in...

    Yes, I did use CopyCursor, as it is stated in MSDN that SetSystemCursor deletes the handle of the source. But even that didn't work (surprisingly!). That is how I came to this conclusion that...
  23. Replies
    1
    Views
    1,040

    Maintaing Cursor Control

    Hi all,

    My application required me to monitor the mouse events and then either hide it or show during certain events. I have managed to succesfully do this using the SetWindowsHookEx() to capture...
  24. Replies
    8
    Views
    5,354

    not sure...

    The funny thing about LoadCursor is that it actually acquires the 'handle' of the cursor. So if you manage to change the cursor itself using SetSystemCursor(), then there is no way you can get it...
  25. Replies
    8
    Views
    5,354

    Restoring the Cursor

    Hi all,

    Can somebody suggest me, how after having used the SetSystemCursor() to change a default cursor, can I get the original cursor back?



    hblank = CreateCursor( NULL, 0, 0, 32, 32,...
Results 1 to 25 of 39
Page 1 of 2 1 2