Search:

Type: Posts; User: knutso

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    1,186

    Minimize to tray-button

    how do you add a button to the left of the minimize button? I'd like to add a "minimize to tray"-button to my app, and can't find anything useful..
  2. Replies
    6
    Views
    2,739

    I meant that i didn't know there were controls...

    I meant that i didn't know there were controls with vertical columns, and that i thought you would have to create your own control, or use one that someone else has created.
  3. Replies
    2
    Views
    2,515

    Solved my problem, thanks!

    Solved my problem, thanks!
  4. Replies
    6
    Views
    2,739

    I don't think so. There's no datagrid in the...

    I don't think so. There's no datagrid in the common controls library..
    I think you'll have to use a 3rd party datagrid control..
  5. Replies
    2
    Views
    2,515

    Cancel socketconnect

    I'm trying to make a connect timeout, and i have implemented this by starting a timeout thread. This works well, but throws an exception.
    How can i terminate the connection attempt, and return...
  6. Use the TreeView_Expand() function to expand the...

    Use the TreeView_Expand() function to expand the new nodes.
  7. Thread: Comport problem

    by knutso
    Replies
    2
    Views
    1,315

    Thanks for the reply. Guess it has to be a...

    Thanks for the reply.
    Guess it has to be a memeory issue then..The handle has the same value when i close the port as it had when it was opened..
  8. Thread: Comport problem

    by knutso
    Replies
    2
    Views
    1,315

    Comport problem

    Hi.
    I have a multithreaded application where i open a comport via


    CreateFile(buf, FILE_SHARE_READ|FILE_SHARE_WRITE, 0, NULL, OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, NULL).

    The read/write...
  9. Replies
    4
    Views
    7,765

    If you find anything, please let me know.. I've...

    If you find anything, please let me know.. I've struggled with tifflib myself, and gave it up..
    I used pdfcreator instead, and printed to the printerdc.
  10. Replies
    15
    Views
    3,964

    The text in the barcode is printed below the...

    The text in the barcode is printed below the code, and should be readable for mortals.. hex is not readable for mortals. It's a good suggestion though..
    In my opinion, the best solution would be...
  11. Replies
    15
    Views
    3,964

    The date format is from a lotnumber in a barcode,...

    The date format is from a lotnumber in a barcode, hence it has to be as short as possible.
    I converted the functions to c, but i'm not entirely finished yet..I'll post it here when it's finished?
  12. Replies
    15
    Views
    3,964

    Thanks to you both! I'll have a look at the code.

    Thanks to you both! I'll have a look at the code.
  13. Replies
    15
    Views
    3,964

    So is there a function like:...

    So is there a function like: weeknumber('2007.01.01');?
  14. Replies
    15
    Views
    3,964

    How do i converet 7403(2007, week number 40,...

    How do i converet 7403(2007, week number 40, wednesday) to a unix time?

    Edit:
    Some years start with week number 53

    Or to put it another way:
    How do i get the week number of 01. january of a...
  15. Replies
    15
    Views
    3,964

    Help on converting date

    I have a date on the format YWWD, where:
    Y=year
    WW=week number of year
    D=day of week

    Anyone have a clue on how to convert this to a regular date(CCYY-MM-DD)?
    Can't find any functions for this...
  16. Replies
    6
    Views
    3,421

    Now i'm about to give up.. I have now created a...

    Now i'm about to give up..
    I have now created a window width as the printer dc.
    I then getdc() from this window(w=4960, h=7016), but this dc is restricted to 1024x768, hence the getdc() function...
  17. Replies
    6
    Views
    3,421

    Yes, the bits variable is a pointer to an array.....

    Yes, the bits variable is a pointer to an array.. I replaced the createdibsection function, thereby the **...
    (didn't see the error...)
    The bitmap is going to be used to create a tiff copy of a...
  18. Replies
    6
    Views
    3,421

    Ok, so the easiest solution is to output the data...

    Ok, so the easiest solution is to output the data to a memory dc, and capture tha bitmap from there..
    The problem, however, is that i can't capture a bitmap of the DC.. i only get dummy data in the...
  19. Replies
    6
    Views
    3,421

    Getting a bmp copy of what i printed

    Hi.
    I'm printing some information to a printer DC, and would like to print a copy of this info to a bmp file. What function would i use?
    I thought CreateDIBSection() didi this, but it only creates...
  20. Thread: DC to Tiff

    by knutso
    Replies
    2
    Views
    2,325

    Got rid og the unresolved externals by copying in...

    Got rid og the unresolved externals by copying in other versions of libtiff..
    The problem now, is that the dibsection looks like it's memset to 0.. it contains only zeros..
    Here's the code for the...
  21. Thread: DC to Tiff

    by knutso
    Replies
    2
    Views
    2,325

    DC to Tiff

    Hi, I'm creating a function to convert a dc to a tiff image.
    I have found libtiff, but i can't make it compile, i get an unresolved external...


    Linking...
    ErrHand.obj : warning LNK4075:...
  22. Replies
    4
    Views
    2,500

    Heh! The service table entry was the missing...

    Heh! The service table entry was the missing part...
    Couldn't find that in any of the examples in msdn, or maybe i don't read it thoroughly enough?

    Anyway:
    Thanks alot!!
  23. Replies
    4
    Views
    2,500

    The servicemain function never triggers. I tried...

    The servicemain function never triggers.
    I tried to add a messagebox in the beginning of servicemain, but it never displays.
    So i tried to call servicemain manually from winmain, and it then...
  24. Replies
    4
    Views
    2,500

    App to run as service and normal process

    I have a win32 app which i want to run as a service. I ha e implemented the servicemain/controlhandler, but the servicemain never triggers.. is there anything special i have to do?
    Winmain is...
  25. Replies
    2
    Views
    1,313

    No, i'm just using FindWindow() with the...

    No, i'm just using FindWindow() with the classname, but it doesn't seem to detect it in another session..
    will a mutex be detected? I'll check if the function i just found doesn't work:...
Results 1 to 25 of 329
Page 1 of 14 1 2 3 4