|
hi all i want to make Toolbar for Fire Fox, i have search but found nothing related to the its development with microsoft technologies, is is not possible to do so with microsoft technologies VC++ or .net
Regards.
Tasleem Arif
|
|
|
|
|
_tasleem wrote: i have search but found nothing related to the its development with microsoft technologies
They hide that information in the documentation[^]
|
|
|
|
|
led mike wrote: They hide that information in the documentation[^]
Bastards.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Provided the fact that Firefox uses its own framework and hence extension mechanism are really specific and customized to that framework, I am not sure how using VS IDE will help more than the specialized tools provided by Firefox to do the job.
Following link should help.
http://www.devsource.com/article2/0,1759,1995990,00.asp
But also take a note of the authors blog
http://www.amazon.com/gp/blog/post/PLNK2OLL1EDO876SB
Regards
|
|
|
|
|
I was looking to run a function after OnInitDialog completes and has fully drawn the dialog to the screen. I am getting some good results using this method, however, not all of the dialog objects and dialog are showing up. Not to sure why either.
// stdafx.h
#define WM_MY_USER_DEFINED_MESSAGE WM_APP + 0x10
// MyDialog.h
virtual BOOL OnInitDialog();
afx_msg LRESULT OnMyUserDefinedMessage(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
// MyDialog.cpp
BEGIN_MESSAGE_MAP(CMyDialog, CDialog)
ON_MESSAGE(WM_MY_USER_DEFINED_MESSAGE, OnMyUserDefinedMessage)
END_MESSAGE_MAP()
BOOL CMyDialog::OnInitDialog()
{
CDialog::OnInitDialog();
PostMessage(WM_MY_USER_DEFINED_MESSAGE);
return TRUE;
}
LRESULT CMyDialog::OnMyUserDefinedMessage(WPARAM wParam, LPARAM lParam)
{
//I would imagine that if we are here, the dialog has completley drawn by now.
//but this does not seem to be the case
Sleep(5000);
AfxMessageBox(L"ok");
return NULL;
}
|
|
|
|
|
Hey,
Just force it by calling the ShowWindow function right before you call return:
ShowWindow(SW_SHOW);
This will force the window to be displayed.
Cheers ...
|
|
|
|
|
|
aquawicket wrote: Sleep(5000);
There is no use if you put a sleep here. Remove it. When put a sleep the application will stop all processing including the painting.
Try calling the RedrawWindow() function instead of that sleep.
|
|
|
|
|
Sweet.. Got it workin..
RedrawWindow() seemed to do the trick..
I didn't realize I was halting everything with Sleep();
I figured the dialog would be drawn before it ever got to that..
Thanks everyone.
|
|
|
|
|
Hi there,
Is there the way, programmatically, set the level of acceleration for audio hardware?
I know its could be done through control panel\...\... . Can it be done by simple application?
|
|
|
|
|
|
Does this link help?
http://www.codeproject.com/cpp/ymatrix.asp
|
|
|
|
|
Anybody have any experience using OptiVec library??
Pavan
|
|
|
|
|
You could have a look at Boost's uBLAS[^] library.
Steve
|
|
|
|
|
Check MTL, (Matrix Template Library)
For curve fitting, i believe you should have a look at Levenberg-Marquardt algorithm of course, there are many algorithms you can use (No free lunch ), with respect to your needs.
Bekir.
|
|
|
|
|
Any help on the topic is appreciated
Thanks in advance...
Selva
|
|
|
|
|
Can't you do that by settings pointers to memory locations you want to read and print them out to console?
|
|
|
|
|
Hello, I'm programming in MFC and with visual studio 2005. I want to have a small toolar in my application(size of standard 16x16) toolbars. I have very nice but bigger icons that I like to place in my small toolbar but I can't. either I have to use bigger toolbars(size of standard 32x32) or I have to skew my nice icons. Can I use bigger icons(bigger than 16x16) in my small(16x16) toolbar? what is the limit?
thanks alot.
-- modified at 10:40 Wednesday 27th June, 2007
|
|
|
|
|
It's not simpler to convert your icons to 16x16?
I use the free IconoMaker[^]
|
|
|
|
|
Hello zoltan, I can convert icons to 16x16 but quality of downsized icons will be lost. I would like to see high quality but small icons. am I asking too much ?
|
|
|
|
|
Electronic75 wrote: I would like to see high quality but small icons.
Yes, that's asking too much. There's no way to magically squeeze larger icons/bitmaps down to
16x16 without some kind of pixel loss
Mark
"Go that way, really fast. If something gets in your way, turn."
|
|
|
|
|
Hello mark, but I have seen many programs that have high quality small toolbars, I'm sure you have seen them too. they can't be 16x16, for example MS WORD or MS EXCEL,... there should be a way. of course if there are more than one way, I prefer shorter way .
|
|
|
|
|
I guess you're refering to color depth by high quality icons.
Aren't you?
|
|
|
|
|
yes zoltan, color depth is one important quality factor another is number of pixels, for example I have extremely beautiful icons that are about 32000 bytes, yes icons with .ico format and size of 32k they are looking extremely nice but they are 32x32. of course I have also icons that are 32x32 and just 766 bytes, they are also good(but definately not as good as 32K icons), so color depth is important but also number of pixels is important. if you look at icons in small toolbars of programs like ms-excel and ms-word, it is not just their color depth but also their pixels(resolution), I don't think one can find small icons like ms-word& ms-excel at 16x16 resolution no matter of color depth. My problem in another way of expressing it is Visual studio 2005 dose not let me to use 32x32 icons for small toolbars, so if I use 32x32 icons in my toolbar it will be at 32x32 size(much bigger). another limitation of visual studio is it dose not allow color resolution more than 8 bit for toolbar icons no matter of size. any solution ?
|
|
|
|
|
Well I did try to convert a 32x32 icon to 16x16 with iconomaker.
After the convert the 16x16 icon looked just as great as the 32x32. So yes I think this is a solution.
Resize your icons. It will lose some pixels but at 16x16 size you won't observe.
|
|
|
|