|
hi,(sorry if this is in wrong forum)
i am from bangalore,india.
i am applying for steady job in different companies.they ask me my expectation.i dont know.
please help me.also please tell me what ctc means and also other jargons.
i have been freelance sw developer for 4 years in vc++ and have done around 4 software packages,for engineering applications, all alone, for govt orgs.
i am very good in sw development and know several languages.i also heve exp in embedded systems.
although i am be mech,i am equally good in all the 3 domains.
-thanx.
-vmmt
|
|
|
|
|
|
v2.0,
You're working too cheap :p
|
|
|
|
|
oh maybe it's because i'm not an exp developer yet...
(actually i am, but not for my office )
|
|
|
|
|
Er zit een korstje op mijn aars.
|
|
|
|
|
I'm not interested in that certain piece of your body
No hurries, no worries.
|
|
|
|
|
it wasn't for you though
|
|
|
|
|
Luckely ...
No hurries, no worries.
|
|
|
|
|
it itches like crazy
Er zit een korstje op mijn aars.
|
|
|
|
|
You could ask this on the Lounge.
Regards,
Nish
|
|
|
|
|
Hi,
Is there a function that stops the window from displaying every time a CD is inserted that asks,
"Windows can perform the same action each time you insert a disc or connect a device with this kind of file".
Many thanks.
|
|
|
|
|
|
Thanks for the reply Mike, but I need to be able to do this from within my program, so any code in C++ would be appreciated. I am writing a CD/DVD Burning application and I don't want to have this auto play dialog popping up every time the user inserts a blank disc and closes the drive.
Many thanks.
|
|
|
|
|
|
This should be helpful for you!Here[^]
|
|
|
|
|
I hope this is an easy question.
I have created code which will print a bmp full page. Since I don't have a printer I am unable to correctly test this code.
One thing I have noticed, when the page is sent to the printer it is very large, more than 60mb. When I print a bmp from a paint application the size is a mere 600kb. I can't understand what I might have done wrong.
The images I am trying to print are mainly white space, though to display the image on screen and for printing I am creating a bmp initially flood filled with white. I then draw my text, charts etc on top of this.
What can I do to decrease this file size? Most of this printing would be sent across networks, so the file size would be a problem.
|
|
|
|
|
Is it possible to print a document without invoking the print dialog each time?
I have created a global PRINTDLG pointer .In my print function, I check the size member of this struct to determin if the dialog box needs to be used, if so it calls it accordingly and globally stores the values. This works ok for the first call to print, but later fails when I try to create a compatibleDC from the printDC.
|
|
|
|
|
Hope I understood your question
You need to print a bmp file maybe it is some helpful to you
...
...
HDC m_hdcPrinter=CreateCompatibleDC(CreateDC(m_pPrinter->pDriverName,
(LPCTSTR)lpdevmode->dmDeviceName,m_pPrinter->pPortName,lpdevmode));
...
...
SelectObject(m_hdcPrinter,hBitmap);
StartDoc (pd.hDC, &di);
StartPage (pd.hDC);
BitBlt(pd.hDC,150,300,2100,1575,m_hdcPrinter,0,0,SRCCOPY);
EndPage (pd.hDC);
EndDoc (pd.hDC);
|
|
|
|
|
Thanks for the reply.
Your above code is basicaly what I am doing now, with the exeption that i am using StretchDBits, and calculating the margins.
I was wondering why this could be causing files larger than 60mb to be sent to the printer.
|
|
|
|
|
After a little research I have seen the error of my ways.
The problam was, I was creating a bitmap to the size of the paper in pixels. Obviously the pixel count in a print DC is substantialy higher than the of the screen. In effect of was creating a bitmap some 3000x5000 pixels and sending that to the printer.
I have now changed it to create a bitmap of (842,595) which is what my paint program creates when selecting A4 size. This has reduced the file size to under 2mb with no apparent distortion. Since I am unable to test this on a real printer, I just hope it is correct.
|
|
|
|
|
Hi waldermort ,
for test your program you can use virtual printer
|
|
|
|
|
|
If the menu items do not have handlers ( ON_COMMAND ) they will be disabled by default.
If you want to have them enabled, either had handlers for the command or and update handlers ( ON_UPDATE_COMMAND_UI ) to enablet the menu item.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Hello,
try this to solve it:
<br />
m_cMenu.EnableMenuItem(IDC_FILE_SAVE, MF_ENABLED);<br />
m_cMenu.EnableMenuItem(IDC_FILE_SAVE_AS, MF_ENABLED);<br />
<br />
m_cMenu.EnableMenuItem(IDC_FILE_SAVE, MF_DISABLED | MF_GRAYED);<br />
m_cMenu.EnableMenuItem(IDC_FILE_SAVE_AS, MF_DISABLED | MF_GRAYED); <br />
i hope this can help you!
regards
break;
|
|
|
|
|
hi,
try to enable/disable them after you create them?! If create is successful try to enable/disable?!
I have them static in my dialog!
regards
break;
|
|
|
|