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..
Type: Posts; User: knutso
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..
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.
Solved my problem, thanks!
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..
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...
Use the TreeView_Expand() function to expand the new nodes.
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..
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...
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.
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...
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?
Thanks to you both! I'll have a look at the code.
So is there a function like: weeknumber('2007.01.01');?
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...
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...
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...
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...
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...
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...
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...
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:...
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!!
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...
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...
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:...