|
your question is clearly not understandable.
as far as i understood,
you might want to convert x : 1 9 1 1 6 1 to 45°46'47.16"
if this is what you want to convert,
then, apply a reverse formula you should get it.
any problem in getting that, then i can help you.
--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.
|
|
|
|
|
Hi,
We have a BitMap with 60*60 size and at runtime i need to shrink the bitmap(image should be very sharp) based on the resolution of the system...and also is it possible to change the color of the bitmap like background ie(we need to change the color because we are using bitmap for buttons in a dialogbox ...so that if there is only one bitmap we can use that by changing background so that it can be used as disabled button..or a mouse hover button...)
Please let me know...
|
|
|
|
|
You may use my DLL [^] to shrink the bitmap (however, unfortunately, it doesn't provide the background feature you need).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi ,
im getting the below error when i tried to open the project in vs 2003 and 2005
'9,00' violates enumeration constraint of '7.00 7,00 7.10 7,10 8.00 8,00'.
The attribute 'Version' with value '9,00' failed to parse.
|
|
|
|
|
Hii
I wanna list all the files and folders of a particular drive.
Any sample codes available...for MS Windows
Give me a link to them...
Thanking you
|
|
|
|
|
you can try with _findfirst and _findnext,
call them in proper recursive function and achieve your task.
--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.
|
|
|
|
|
|
krish_kumar wrote: Thanking you
MadMadMad
In a good mood, today?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Yaaa.....
U can proceed.....
|
|
|
|
|
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
hi!
i have developed an mfc activex control(dialog based)i want to show and hide the dialog as per user choice buttons on html page.i have interfaced button controls with activex control but do not know how to hide and show the activex dialog.
please help me
thanx in advance
|
|
|
|
|
HI,
I am creating Window using window class. I added just a menu bar. I need couple of coordinates to give flexibilities to my window.
1. How I will get the height and with of a desktop, cause i may use this application in multiple resolution desktops.
2. Inside the window I have a menu bar only. I need to know the coordinates of left-bottom corner of that menu bar so that I can create other control inside my window.
Thanks in advance...
birajendu
SonicWALL
Bangalore
India
|
|
|
|
|
hai
1:
try to explore GetSystemmetrics or getdesktopwindow() function.
2:
AFAIK, i guess, for what ever the resolution maybe, the menu bar size(height) will be same in pixels, wrt the window. so, you can hardcode it.
or you can use GetWindowRect to get the bounds of your menu bar.
--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.
modified on Thursday, June 18, 2009 11:58 PM
|
|
|
|
|
thanks...
birajendu
CyberG India
Delhi
India
|
|
|
|
|
For determining the resolution(xMax X yMax), you can use
xMax = GetSystemMetrics(SM_CXSCREEN)
yMax = GetSystemMetrics(SM_CYSCREEN)
and for knowing the coordinates, use GetClientRect and change it to screen coordinates, if required, by using ClientToScreen API.
|
|
|
|
|
This gave me whole screen, I used
GetSystemMetrics(SM_CXMAXIMIZED)
GetSystemMetrics(SM_CYMAXIMIZED)
For my purpose...Thanks a lot.
birajendu
CyberG India
Delhi
India
|
|
|
|
|
|
Hello
I am using a Windows Timer Call Back function which has argument types
HWND and some others, in all 4 of them. As these arguments are not being used within that CallBack function, i do get a compiler warning.
How to get rid of this warning? I know by setting the warning level
to low priority one, i can do that.
Is it possible to write a TIMER CallBack function without those parametrs?
That way, can i get rid of these warnings?
Thanks
|
|
|
|
|
It's the standard format of the function and programmer can decide to use or not use them. If you're not using it, just enclose it in UNREFERENCED_PARAMETER macro.
UNREFERENCED_PARAMETER( hwnd );
UNREFERENCED_PARAMETER( uMsg );
UNREFERENCED_PARAMETER( idEven );
UNREFERENCED_PARAMETER( dwTime );
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|
|
Apart from what Sarath suggested you could also comment out the unwanted parameter like this.
VOID CALLBACK TimerProc(HWND , UINT , UINT_PTR , DWORD )
{
}
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
i ahve a windows(desktop) application softwere which i am working on,
I need to add functionalty in that, like when you minimise you can store tool bar on the taskbar.
it can be done with VC++ ,VB.NET
any suggetions?
|
|
|
|
|
samvaidy wrote: any suggetions?
yes, 2 actually
1) dont cross post - you posted the same in the Visual Basic section
2)
samvaidy wrote: i ahve a windows(desktop) application softwere which i am working on,
so what language is your app in or hasnt it made it off paper/design into real code yet ?
'g'
|
|
|
|
|
Sorry for repeating the post, I am new to this site.
My Application is being developed in vb.net/c++.
and minimode option is yet to be initiated.
|
|
|
|
|
I guess you are looking for a Deskband[^].
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Buddy thanks for the reply,
But i dont have any clue with that.
let me explain my design to you.
Its call center application, and it has main toolbar like "log in","tools","call forward","redirect","conference" like that.
and just like a windows media player , i need that minimode tool in my design.
when you minimise it, it should show following option in little taskbar. and agent should operate everything from the taskbar itself.
Thanks.
|
|
|
|