 |
|
 |
i think BitmapToRegion(...) funtion is relative to the job.
which part of your soource code i should use the function at and How ?
thanks
nice to meet u
|
|
|
|
 |
|
|
 |
|
 |
If you use LoadSkins in ButtonPressed handler, for example, to change the skin use a skinned button, the application will crash.
The error message you will get is access violation in CWnd::Default().
This was caused by the CSkinButton::OnLButtonUp, which call CBitmapBtn::OnLButtonUp at the end. The hWnd of the button was invalid then before the button itself had already been destroyed by CSkinDialog::free
Hope this helps somebody.
// ===========================
// = Zhang Hong@Shanghai.China
// ===========================
|
|
|
|
 |
|
 |
There is possibly a bug in CSkinDialog::ReadButtonInfo, the button is created without BS_OWNERDRAW. This may cause the button image failing to be displayed.
Hope this help somebody out.
// ===========================
// = Mars Chang @ Shanghai, China
// ===========================
|
|
|
|
 |
|
 |
When open the mp3 file,the during time of mp3 display is not accurate! How to get it?
|
|
|
|
 |
|
 |
hi all...
The application is very good but it crashes after 20 minutes, may be some memory related issues but i don't know exactly why this happens...can anybody help me out...
regards
-- modified at 5:36 Wednesday 27th June, 2007
Rajeev
|
|
|
|
 |
|
 |
web site links are dead ...
|
|
|
|
 |
|
 |
The easiest fix is to add a comma as the last character of each line in the skin file.
The problem is in GetFirstParam. Without the comma, the byte *before* the m_Res gets set to '\0' when parsing the last token.
This is because mName.Find(",") returns a -1 when it doesn't find the comma.
The best fix would be to incorporate error checking in GetFirstParam to properly deal with the last parameter in the file, but I'm in a hurry
-- modified at 10:16 Monday 27th February, 2006
|
|
|
|
 |
|
 |
I using the you lib, but the error message:
d:\test\testskin3\skinsys\skindialog.cpp(1021) : fatal error C1010: unexpected end of file while looking for precompiled header directive
thank every one anwer me!
|
|
|
|
 |
|
 |
aladeck wrote: I using the you lib, but the error message:
d:\test\testskin3\skinsys\skindialog.cpp(1021) : fatal error C1010: unexpected end of file while looking for precompiled header directive
thank every one anwer me!
i've had that error too... i solved it by putting #include "stdafx.h" and the #include ".h" make sure all the (skinning) files are added to the project.
I hope that solved your problem.;)
|
|
|
|
 |
|
 |
Hello,
i find many article in codeproject,
i want to write an skinnable & resizing dialog(like MSN)...
But i can't combine it~~
Would you have some suggestion ??
|
|
|
|
 |
|
 |
try it at www.thirdwolf.com
|
|
|
|
 |
|
 |
Does any one knows if the CSkinDilaog support XP and 98?
the program fail on XP and 98 and not transfer the white pixel
does any one can help???
|
|
|
|
 |
|
 |
Hi,
As ActiveSkin is no more and SkinMagic is barely lacking of support and stability, I've come to use : SkinCrafter[^]
It seems very good ...
-lonestarr
|
|
|
|
 |
|
 |
After setup the volume progress bar, it will disappear - if I click "Eject" (to load mp3 files) and then close the "open" dialog/window. It also happens to progress_pos bar - if I am in "pause" status.
The progress bar will be recovered only when I move my mouse over the progress bar or swich to another windows program and then switch back.
How can I force my interface to be repainted everytime after I open a child window/dialog?
Robert.
|
|
|
|
 |
|
 |
there is pictures on the other controls on the dialog.
but there is no picture on the dialog where there is no controls
can you tell me why ?
if there is any attribute of the dialog to set to show pictures?
|
|
|
|
 |
|
 |
I had this problem at first, but looking at the original sample it was clear what to do. If you have created a Class for the dialog box you wish to skin (e.g. CDlgMyTest), as per instructions you inherit from CSkinDialog, not CDialog.
Also make sure all references to CDialog in the file CDlgMyTest.cpp are replaced with CSkinDialog. You should also add a windows message handler for WM_PAINT, using class wizard, and add the code from the MPEG project for OnPaint. Eg:
CDlfMyTest::OnPaint()
{
if (IsIconic())
{
CPaintDC dc(this); // device context for painting
SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
// Center icon in client rectangle
int cxIcon = GetSystemMetrics(SM_CXICON);
int cyIcon = GetSystemMetrics(SM_CYICON);
CRect rect;
GetClientRect(&rect);
int x = (rect.Width() - cxIcon + 1) / 2;
int y = (rect.Height() - cyIcon + 1) / 2;
// Draw the icon
dc.DrawIcon(x, y, m_hIcon);
}
else
{
CSkinDialog::OnPaint();
}
}
Truthly I found it was the CSkinDialog::OnPaint(); that was the critical line. Make sure you have this instead of CDialog::OnPaind (), and all should be fine.
Yohi
|
|
|
|
 |
|
 |
hi
it's a very good program, thanks to you.
i tend to reload a nother skin at run time but i found problem?
after long search and work, i found when remove free() function from loadskin() the new skin is loaded, it's maked me hapy but still a nother problem the old skine is still appeld, i go to free() function to analysis it found the problem with delete operator, i'm traing but !!?
how can solve this problem to reload other skins at run time without problem.
thanks.
el breeky
|
|
|
|
 |
|
 |
you must redistribute memory to new skin and reload the new pic skin when you call the function free(),certinly his code have many memory leak while you use Ontime() to display time text the class is "CSkinLabel"
|
|
|
|
 |
|
 |
I want to set the Text-Alignment to left, but dont know how this possible. Can someone help me, please?
|
|
|
|
 |
|
 |
the save btn on the Skin edotor cant be udes to save.it only displays the open dialog box
|
|
|
|
 |
|
 |
I use SkinMagic Toolkit at http://www.appspeed.com it save me more time!
|
|
|
|
 |
|
 |
You have serious problem when dragging the thumb of SkinSlider using direction keyboard. Also if you drag quickly the thumb by clicking the edge of thumb,
the thumb image goes broke.
Is there anyone having same problem with me?
|
|
|
|
 |
|
 |
The website does not work.
|
|
|
|
 |
|
 |
I checked your library SDK and it sucks a lot (design, performance, functionality). I know you're trying to sell this but you need to learn more about programming before you actually sell something.
If you really want a full solution for this kind of stuff check ActiveSkin (www.softshape.com). Together with SkinBoxer from www.smartbrainsoftware.com this is the best package you can find. They even skin the default Windows MessageBox, Open/Save dialog, etc.
The ~Coder
|
|
|
|
 |