so it would be possible that, whenever someone is calling the function, who is not overwritten (and therefore the one of the superclass is called) it throws an error? that would be grat!
schaereran gmx net
Posts
-
technique for assure, that a function is overwritten in c++?? -
technique for assure, that a function is overwritten in c++??there is no complie error(on the 2th. deriv)!!! is there any trick, or technique, that could give me a compile error?
-
technique for assure, that a function is overwritten in c++??yes, but what, if i make a pure virtual function (abstract class) then derive a class from it, and implement this function. now i derive a class from this class, and forget to overwritte this function, how will i know?
-
technique for assure, that a function is overwritten in c++??yes, but i need a technique, who workes also when i derive a class from a derived class and so on! is there any trick?
-
technique for assure, that a function is overwritten in c++??hy, i have a virtual function in a class. i must go sure, that every class who is inherited from this class overwrites this function, otherwise a warning shoud occur at runtime, or something like that. is this possible?? thanx andreas
-
Microsoft Installer vs. InstallShield???hy, im wondering, what in your opinion is best. or what are the differences? i tryed to do something with the microsoft installer (the one from the studio.net) but it doesent work really. i cant configure launch conditions (i tryed 2hours..) and i cant run any c++ code or a .exe file BEFORE i run the setup. ist this possible at all with installer? with installshield this is no problem!
-
diffucult: how can i measure velocity with a webcam?ok, thanx for the tip! what do you think about Vision SDK from MS? i tried several times to run any sample porgram, but i never could compile it, i always had errors!!!! greets
-
How can I have a pointer to the ToolBar ?((CMainFrame*)AfxGetMainWnd())->m_wndToolBar cheers
-
alphablend with win98 does not work!it compiles, runs, but makes nothing transparent. my code runs well on WinXP and Win 2000. in the MSDN is written, that it should also work with win98! does anybody has a clue? or an implementation of a alphablend funtion? the code i use is: //blalba BLENDFUNCTION blend; blend.BlendOp = AC_SRC_OVER; blend.AlphaFormat = 0; blend.SourceConstantAlpha = 110;//(wichtigster parameter (zw. 0 - 255)) blend.BlendFlags = 0; AlphaBlend(dcMemBackground, 0, 0, nWidth, nHeight, dcMemForeground, 0, 0, nWidth, nHeight, blend); thanx, greets
-
using c++ in a VS.NET setup project??hy, it didtn helped me a lot, because i need to run c++ code BEFORE i run the setup steps. i didnt found out how to do this!
-
using c++ in a VS.NET setup project??hy, how can i run code from a .MSI setup programm made with VS.NET ? i cant ad scripts or something like that, like i can do this with InstallShield! is it possible at all?? thanx
-
Convert 32Bit Bitmap into 24Bit Bitmap HELP!!!!i dont find any article on this topic on the whole net, and the MSDN library! so i tryed it myself with GetBitmapBits, and SetBitmapBits. i copyed every BYTE from the 32bit bitmap into the 24bit bitmap, except every 4th. BYTE value, which is supposed to be the alpha value. so, now i should have a 24 bit bitmap, isnt it? but it does not work really.... pleas help me, is there no easy approach? thanx a lot andreas
-
editing 24bit toolbar in editor???is there a possibility to easy edit a 24bit toolbar in VS.NET?(by editing i mean settind the IDs, rearrange the order,etc..) i cant believe this is not possible, and i have to rearrange, and cut my nice 24 bit toolbar "by hand" why is there no support for 24bit toolbars?? greets andreas
-
transparent toolbarbuttons,please help!the code looks very complicated to me, isnt there a simpler solution for making a bitmap transparent?? i cant use this code!
-
transparent toolbarbuttons,please help!it was the maskcolor, now i changed it to RGB(192,192,192) and now it workes!
-
transparent toolbarbuttons,please help!hy, thanx for the link, unfortunately, when i compile this project and run it, the icons are not transparent, it looks excactly as in the project i worked. i work with .NET2003 may this be the problem?
-
transparent toolbarbuttons,please help!i made a toolbar, that has a gradient effect (as in office2003) but now, the toolbaricons who are on the toolbar do not look cool on the gradientbackground, because they are not transparent! that means i still see the gray color who surrounds the symbols. any idea how to solve this problem??? i really read a lot about the topic, but found no solution! i also would manage to change this gray color to any other color (set it as background color) but this does not help me, because my background has no fix color, its a gradient! thanx for any help!!!! andreas
-
Office2003 looking toolbar!??maby the key is alwo in this function: (from the customize toolbar sample) void CMainFrame::OnViewXpmode() { xtAfxData.bXPMode = !xtAfxData.bXPMode; RedrawWindow( NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE | RDW_ALLCHILDREN ); } unfortunately there is nothing like a xtAfxData.bOfice2003 flag ... any ideas?
-
Office2003 looking toolbar!??hy, i already downloaded the trial, but i dont figuered aout, how to do the office2003 style. it is also not documented! i think its in this function: if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || !m_wndToolBar.LoadToolBar(IDR_MAINFRAME)) So i would need other styles, but i didnt found styles like Gradient for the TBSTYLE_FLAT, and it is also not documented any idea?? andreas
-
Office2003 looking toolbar!??any idea how to create this??? thanx a lot!