|
hi, any have idea of launch from button one application like outlook express, try to navigate and function ok, but with c:\\.... not.
tanks,
|
|
|
|
|
I have created single IE Toolbar with an ATL Object Wizard.
Please show me how correct add buttons on this toolbar?
I try to do that
I attempted:
BOOL CVGBand::RegisterAndCreateWindow()
{
RECT rect;
::GetClientRect(m_hWndParent, &rect);
HWND m_hWndChild = ::CreateWindow(
TEXT("STATIC"),
NULL,
WS_CHILD,
rect.left, rect.top,
rect.right - rect.left,
rect.bottom - rect.top,
m_hWndParent,
NULL,
NULL,
NULL);
TBBUTTON tbb[] =
{
STD_FILEOPEN, 0, TBSTATE_ENABLED, TBSTYLE_BUTTON,0, 0, 0, 0,
STD_FILESAVE, 1, TBSTATE_ENABLED, TBSTYLE_BUTTON,0, 0, 0, 0,
STD_FILENEW, 2, TBSTATE_ENABLED, TBSTYLE_BUTTON,0, 0, 0, 0
};
TBADDBITMAP tbbitmap = { HINST_COMMCTRL, IDB_STD_SMALL_COLOR };
rect;
::GetClientRect(m_hWndChild, &rect);
m_hWnd = ::CreateWindowEx(0,
TOOLBARCLASSNAME,
(LPSTR)NULL,
WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | CCS_TOP | TBSTYLE_TOOLTIPS | TBSTYLE_FLAT | CCS_NODIVIDER,
rect.left, rect.top,
rect.right - rect.left,
rect.bottom - rect.top,
m_hWndChild,
(HMENU)IDC_PANEL,
NULL,
0);
ToolBar_ButtonStructSize(m_hWnd);
ToolBar_AddBitmap(m_hWnd, 1, &tbbitmap);
ToolBar_AddButtons(m_hWnd, 3, &tbb);
return ::IsWindow(m_hWnd);
}
|
|
|
|
|
How to create transparetn toolbar?
|
|
|
|
|
Hi all,
Would you help me, I am finding away to add more menu item into menu popup in existed application such as: Outlook , Explorer...
for example:
In outlook Express application, at contact lists, select one member and then you right click, the pop up open, but there are some ready menu items, How can I add one more my menu item into this menu pop up, and how can we handle it.
Thank you for your help.
David,
|
|
|
|
|
I made toolbar for IE and it works, althugh I am beginner (dummy ). But what about Opera ? I can't find any info about Opera Toolbars. Only custom buttons and sidebars.
Any help ?
|
|
|
|
|
I use the MFC standard method to create a toolbar ,but it don't send the message of WM_COMMAND when i press the button .why?
|
|
|
|
|
Hi, First I want to say to Eric that your wizards have saved me a tremendous amount of time - as I implement toolbars all the time. So thank you!
My question is for anybody. I cannot seem to get variable size buttons within the toolbar. Lets say the I have an image list for button "A", and that button width is "X". Then I have an image list for button "B" and that button width is "Y". My toolbar buttons take the width of the greatest sized button. No matter what I do - it seems not to work. Am I doing something wrong? Is there a setting that I am not setting correctly? I think it is me! I have searched MSDN and cannot find anything about variable sized buttons.
any help would be appreciated.
Thank you.
Tom Lee
|
|
|
|
|
I have tried doing this with the child CToolBarCtrl of the deskband, but it did not work. However, when I put TWO CToolBarCtrl into the deskband... well, you guessed it!;)
|
|
|
|
|
I want to get some event from IE
How can I get the title and url to show on my toolband ?
|
|
|
|
|
Even i would like to know about this,Erik can you please guide us how to go about this,
can we use AfxConnectionAdvise create an event sink and trap the event?
thanks
-raj;)
|
|
|
|
|
Hi,
I have downloaded and installed the RBDeskBand wizard. Then I generated a new ATL project and opened the Insert | New ATL Object dialog. I selected the RadBytes category. There was just one entry there called DeskBand (no icon). I selected it and clicked Next, and I got the following error message:
"Sorry! An error occured while generating the project".
Running VC++ 6.0 latest SP.
--Patrick Philippot
|
|
|
|
|
Also, I'm unable to recompile since the source files package seems to be missing a lot of files. Or should I reconstruct a wizard project manually?
Thanks.
--Patrick Philippot
|
|
|
|
|
Forget it. Sorry. Templates files where missing in my template folder.
--Patrick Philippot
|
|
|
|
|
I am also having this prob...how did u solve this one?
|
|
|
|
|
You must be in a ATL COM AppWizard Project only.
FILE>NEW>Select ATL COM AppWizard from the list view
|
|
|
|
|
Like Windows and Unix(and variants) all newer programming languages suffer from internal BLOAT. The programming skills of computer pioneers, writing vast programs in 8K of memory, sh*t all over modern programmers. For example - the space probes dont have 256MB RAM and a 60GB HDD. Newer trends are RAM/HDD are cheap - fill them up! And this is reinforced by the newer editions of commercial programming languages which bloat software. Why should I write a program that runs at a snails pace and takes 5MB when I can make it fly for 600kB??
|
|
|
|
|
I suppose your retired now there is not much call for assembler programmers, except for embedded systems and Operating System and device driver program?
Horses for courses my friend:
If you#re doing the above, then I would choose assembler/C.
If you're writting a word process I would choose C++.
If you're writting a Stock control system I would choose C#.
;P;P
Normski. - the next bit of code is self modifying ... jmp 0xCODE
|
|
|
|
|
agree. Write viruses or do hacking using assembler/C if you are too free during leisure.
|
|
|
|
|
Well, I've programmed C, C++ (Win32, MFC), Delphi, Java, Visual Basic, C#. I can tell that assembler (for Windows, called Win32 Assembler) is the best programming language to build small, very eficient programs. But it's not easy and is only capable of building some kind of programs. I've never seen a COM+ component built in Assembler, but I've seen a good utility program in Win32 Assembler.
What I mean is that each programming language is good at certain aspects:
- C is for DOS applications.
- C++ Win32 is for very effective and high speed performance programs (my favorite).
- C++ MFC is for those who wants to build easy programs at high capable programming language.
- Delphi is the best programming language to build high scalable programs. Good for learning programming. It's not so speedy, but it runs well on nowadays systems.
- Java is for cross-plataform applications. Not speedy.
- Visual Basic is good for COM+. Not speedy.
- C# is good for dummies.
|
|
|
|
|
Agree, Delphi is for IS system (application that call up database very frequently)
Visual Basic for COM+. I think Visual C++.net or VC++ also can achieve the same thing with little advantage - speed and size. VB need VBRun (interpreter dlls)
C# is good for writing web services which is meant for managed .NET world. I would say future dominating programming language most likely will be C#, Java and the .NET branch programming language like VB.NET. Who would like to use IIOP port and etc when you can just use HTTP port to do so. Just my personal opinion. peace
|
|
|
|
|
> Why should I write a program that runs at a snails pace and takes 5MB when I can make it fly for 600kB?
The answer is simple: Because the first program will be -much- faster to develop and maintain, and time is money. Ask any manager if they'd rather have you spend 2 months writing a program that completes in 50ms, or 2 days writing the same program, only it completes in 500ms...
|
|
|
|
|
Hello and Greetings...
Well Poeple the Installation of the dll files is not a big issue, just copy them to your windows (which ever version you may have) and then type in the same thing our frined has said before and it is sure to work....
As for RadBytes.com - It is currenlty offline... i don't know why....
But the good news is that every thing we need from them is here.
First Response...
WHAT is proved now was once only imaganied ....
|
|
|
|
|
Yes I know my website is down. I have been really busy with my full time job and have not had time to update my website. It was taken down to free up a server to aid in the development of the .NET version of Code Project. I know it is causing problems but I will get to it. I will attempt to update my site this evening. In addition I will repackage it so that the files are in a ZIP and you can manually install them yourself if you wish.
Patience is a virtue.
Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
|
|
|
|
|
Unfortunately, a more immediate concerned popped up and I havent' been able to fix my site. please bear with me. Thanks
Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
|
|
|
|
|