|
Hi all!
How could I stop flickering in a list view control?
|
|
|
|
|
I assume the flickering is happening while items are being added to the control. If so, try calling SetRedraw(FALSE) beforehand.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
No!, it's happening when I resize the window.
|
|
|
|
|
Hello people,
I'm having a very weird problem at the moment and I can't figure it out. Here's the situation;
- I have a normal dialog (CDialog class) with a groupbox on it.
- Inside the groupbox, I create a CPropertySheet like this:
CWnd* pWnd = GetDlgItem(IDC_ST_TAB);
m_propSheet.Create(pWnd, WS_CHILD | WS_VISIBLE);
m_propSheet.SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE);
where IDC_ST_TAB is the ID of the groupbox and m_propSheet is a CPropertySheet object.
- Before I call create, I add several pages. All pages show fine.
- On one of the pages contains a custom listbox, this listbox has a popup menu on right click. The popup menu shows fine.
- When an item in the popup menu is clicked, it SHOULD pop up another dialog (again a CDialog class). It does seem to load the dialog, but never shows it! It hangs on DoModal().
Now here's the weird thing; when I change the m_propSheet.Create to say WS_POPUP or just nothing instead of WS_CHILD, I get a floating property sheet and then the dialogs DO pop up properly...
What am I missing here? All property sheets are also set as child in the resource (but I don't think it matters).
|
|
|
|
|
I have used a "Forms 2.0 ActiveX control" in my first piece of software created with VC++ 6.0. Unfortunalty my software will not run on a system unless MS Office is installed. What have I done wrong!!!
Can I include the nessesary files in my application to make my software run on a system without MS Office.
Thanxs
|
|
|
|
|
Normally what you should do is supply the ActiveX with your program (but check for license and everything cause that's not my field, I'm just a programmer that don't care about licenses ). Then you will need to register it using regsvr32.
Probably that this ActiveX is used by Office thus it is already installed with Office..
|
|
|
|
|
I thought I had!!!
The component is fm20.dll normally found in Windows\System32. It came from the Registered ActiveX Controls gallery found under "Add to project, Components and controls, ".
How should I supply the control with my program?
Thanxs, for your help. Sorry for the questions but I am new to this!
|
|
|
|
|
avs4 wrote:
How should I supply the control with my program?
You will need to make an installation programm that will check if the ActiveX is already there or not. If not it has to copy it in Window\System32 and register it. For installation program, you can use InstallShield but I don't have a lot of knowledge there. Or of course you can also copy and register it manually but I don't know if this is a good solution
By the way, fm20.dll, is not an ActiveX but a dll. ActiveX have the .ocx extention. So maybe you are looking at the wrong file...
[EDIT] Also, do you say that your application won't run. But what is happening ? Simply nothing when you start your application or do you get an error message ? [\EDIT]
|
|
|
|
|
When I click my icon to start the program, nothing happens, no error message, nothing. If fm20.dll is installed in the system32 directory the program runs.
It is the correct file, the control is in the VC6.0 gallery under registered ActiveX controls. The path to the control indicates "System32\FM20.DLL".
Is there no easy way to include this .DLL in my project?
Thanxs for your help.
|
|
|
|
|
this might help...
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q224305
|
|
|
|
|
Need algorithm 3d triangulation...
Tender_Nail
|
|
|
|
|
Tender_Nail wrote:
Need algorithm 3d triangulation...
cool
just ask this the way you do, it will fall down from the sky...
-> me, i need an algorithm for taylor-young development expands...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Here[^]. You can really choose what you want...
Seriously, you really think that people here will supply a full code of 3D triangulation algorithm without even knowing what you are speaking about ?
If you want some help, at leat have the respect to format your question correctly.
|
|
|
|
|
who's the F******g guy that voted me down ?!
GRRRRRRRRRRR
hum well, don't care about me, i just have to say that, and i didn't know where to write it... so i decided to say it to my new friend, mista cedric...
sorry for the "nuisance" (and for my bad english)...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
You just wake up from a sleep of one week ??
Pas de problème pour l'anglais, le mien n'est pas parfait non plus. C'est plus facile en français non ?
|
|
|
|
|
ah ouais, c vrai qu'on parle francais en belgique aussi...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
triangulation of what source? are you starting with non-uniform point data, trying to find the least number of triangles to encompass the data? Are you starting with a grid/matrix of points, but don't want to do a brute force triangle mesh? Do you have a mathematical surface or analog wave-form that you are trying to break down into a viewable/plotable 3D surface?
Without more information this is a proper answer:
//Tell gl, what our vertex arrays look like! 3 floats per vertex, 0 packing, and the address.
glVertexPointer(3, GL_FLOAT, 0, vertexcoord);
//Tell gl, what our texture arrays look like! 2 floats per coordinate, 0 packing, and the address.
glTexCoordPointer(2, GL_FLOAT, 0, texcoord);
// draw triangle strip
glDrawArrays(GL_TRIANGLE_STRIP, 0, gsize*2);
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Here is good algorithm:
3D_Triangle 3D_Triangulation_Algorithm()
{
int result = AskNice();
if(result != POLITE)
return TRY_IT_YOURSELF;
else
return TryToHelpHim();
}
Regards,
Eli
|
|
|
|
|
|
Hi again!
Does anyone know or have any code example of how to use the API callback function EnumSystemLanguageGroups(....) ??
|
|
|
|
|
There's not a whole lot to it:
EnumSystemLanguageGroups(EnumProc, LGRPID_INSTALLED, 0); See here for more.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Thanks a lot.
The problem I get doing this is an error message when I compile.
c:\Documents and Settings\blaol\Desktop\Regional Settings Plugin\Regional Settings\Regional Settings\regionalSettingsPlugin.cpp(459): error C3861: 'EnumSystemLanguageGroups': identifier not found, even with argument-dependent lookup
Don't know what I'm doing wrong.
|
|
|
|
|
Include proper header File and Library File
|
|
|
|
|
Hi,
Based ON MSDN :
Requirements
Windows NT/2000/XP: Included in Windows 2000 and later.
Windows 95/98/Me: Unsupported.
Header: Declared in Winnls.h; include Windows.h.
Library: Use Kernel32.lib.
did you include th header files and Kernek32.Lib in your project?
Rgards,
Eli
|
|
|
|
|
Hi Again!
Reading a little about this callback functions I understand that
EnumSystemLanguageGroups is used with this callback function EnumLanguagesGroupsProc.
The question is how do I use them together.
EnumSystemLanguageGroups has a parameter of type, LANGUAGEGROUP_ENUMPROC. Which is passed from
EnumLanguageGroupsProc. Can you maybe give me an example of how to use them?
Thanks!
|
|
|
|