like this. http://freeanderson.byus.net/temp.jpg[^] i used iframe with style='filter:alpha(opacity=94)'. below is normal without style='filter:alpha(opacity=94)'. http://freeanderson.byus.net/temp2.jpg[^]
EXTEIDE
Posts
-
filter:alpha(opacity=..) problem with iframe -
filter:alpha(opacity=..) problem with iframei use a iframe with style='filter:alpha(opacity=60)'. iframe shows some jpeg image in it. some image is shown well, but some image is shown with broken pixels. if i remove filter option, all images have no problem. how can i fix this? is it possible? thanks.
-
Horizontal scroll and vertical scroll--difference ?there are several way to calc it. it depends on what kind of coordinate system you are using. you have to consider whether absolute or relative, whether integer or float, whether zoom in/out feature will be added or not, and etc. scrollbar control has its absolute coordinate like 'range' like 0~255 or 0~32767. this is physical coordinate. So your logical coordinate in your mind has to be matched to physical coordinate as correct ratio. for example, if the maximum size of logical map is 327680 pixel and physical scroll range is 0~32767, then current pixel position to draw to screen has to be scrollbar position * 10. so if the scrollbar position is 16384 (1/2 of range), then current map position is 16384 * 10 = 163840. and you also have to consider view window width, height. anyway, scroll bar controling is a little complex and i'd like to suggest you to research formal way. there are lectures on the internet. Enjoy:rose:
Anderson Sheen Reduce a time to develop your IDE. It's a free! http://www.exteide.com
-
Horizontal scroll and vertical scroll--difference ?Yes you do as same way in OnHScroll handler. But ratio would be different so you have to calc it. Enjoy:rose:
Anderson Sheen Reduce a time to develop your environment. It's a free! http://www.exteide.com
-
LowLevelKeyboardHookDid you download latest SDK in here[^]? But I didn't try to test the func so it's not exactly for the problem. Enjoy:rose:
Anderson Sheen Reduce a time to develop your environment. It's a free! http://www.exteide.com
-- modified at 22:17 Friday 10th February, 2006
-
Console Output FormattingI found the code that you want in here. http://www.koders.com/c/fidD1457B7594BFF764B76CFFDBCD7E2EDE2E4188C3.aspx?s=telnet And I tested it like below, and I could get the result; // consoletest.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include void SetConsoleSize(HANDLE hConsole, SHORT xSize, SHORT ySize) { CONSOLE_SCREEN_BUFFER_INFO csbi; /* hold current console buffer info */ BOOL bSuccess; SMALL_RECT srWindowRect; /* hold the new console size */ COORD coordScreen; bSuccess = GetConsoleScreenBufferInfo(hConsole, &csbi); /* get the largest size we can size the console window to */ coordScreen = GetLargestConsoleWindowSize(hConsole); /* define the new console window size and scroll position */ srWindowRect.Right = (SHORT) (min(xSize, coordScreen.X) - 1); srWindowRect.Bottom = (SHORT) (min(ySize, coordScreen.Y) - 1); srWindowRect.Left = srWindowRect.Top = (SHORT) 0; /* define the new console buffer size */ coordScreen.X = xSize; coordScreen.Y = ySize; /* if the current buffer is larger than what we want, resize the */ /* console window first, then the buffer */ if ((DWORD) csbi.dwSize.X * csbi.dwSize.Y > (DWORD) xSize * ySize) { bSuccess = SetConsoleWindowInfo(hConsole, TRUE, &srWindowRect); bSuccess = SetConsoleScreenBufferSize(hConsole, coordScreen); } /* if the current buffer is smaller than what we want, resize the */ /* buffer first, then the console window */ if ((DWORD) csbi.dwSize.X * csbi.dwSize.Y < (DWORD) xSize * ySize) { bSuccess = SetConsoleScreenBufferSize(hConsole, coordScreen); bSuccess = SetConsoleWindowInfo(hConsole, TRUE, &srWindowRect); } /* if the current buffer *is* the size we want, don't do anything! */ return; } int main(int argc, char* argv[]) { HANDLE hStdout; hStdout = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleSize(hStdout, 100, 100); printf("1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"); getch(); return 0; } Enjoy:rose: Anderson Sheen http://www.exteide.com -- modified at 22:04 Friday 10th February, 2006
-
Looking for solid C+Tree or C*-Tree sourceI just suggested category collection. but I didn't look for it there. Sorry, it'm my mistake. But I think it's not good to say like you by reason that you couldn't found it in my reference. My will was giving help to you although it was not help to you.
Anderson Sheen Reduce a time to develop your environment. It's a free! http://www.exteide.com
-
Looking for solid C+Tree or C*-Tree sourceHow about looking for it in here[^]? But I wonder whether there is a non-license component that you want. Enjoy:rose:
Anderson Sheen Reduce a time to develop your environment. It's a free! http://www.exteide.com
-
Help With VC++ SOcket Programming using MFCsRefer here.[^] You'd better to search in google. I found it with keyword of "CSocket MFC example". Enjoy:rose:
Anderson Sheen Reduce a time to develop your environment. It's a free! http://www.exteide.com
-
How to let VS 6.0 to compile unicode resource file?Refer here[^] Enjoy:rose:
Anderson Sheen Reduce a time to develop your environment. It's a free! http://www.exteide.com
-
Event handler for double click in CListCtrlOverride your own list control like CMyListCtrl from CListCtrl. Enjoy:rose:
Anderson Sheen Reduce a time to develop your environment. It's a free! http://www.exteide.com
-
html-based modless Windeowok. i'd like to introduce this: http://www.codeguru.com/cpp/i-n/ieprogram/article.php/c4373/#more[^] and you need to download latest sdk. look up PSDK-x86.exe in below page. but you should choose it by your cpu. http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com
-
Rotation textright. i've sold out lfEscapement.:-D Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com
-
Rotation textfollowing is the CreateFontIndirect example in msdn. HFONT FAR PASCAL MyCreateFont( void ) { CHOOSEFONT cf; LOGFONT lf; HFONT hfont; // Initialize members of the CHOOSEFONT structure. cf.lStructSize = sizeof(CHOOSEFONT); cf.hwndOwner = (HWND)NULL; cf.hDC = (HDC)NULL; cf.lpLogFont = &lf; cf.iPointSize = 0; cf.Flags = CF_SCREENFONTS; cf.rgbColors = RGB(0,0,0); cf.lCustData = 0L; cf.lpfnHook = (LPCFHOOKPROC)NULL; cf.lpTemplateName = (LPSTR)NULL; cf.hInstance = (HINSTANCE) NULL; cf.lpszStyle = (LPSTR)NULL; cf.nFontType = SCREEN_FONTTYPE; cf.nSizeMin = 0; cf.nSizeMax = 0; cf.lfOrientation = 180; // specify angle that you want. // Display the CHOOSEFONT common-dialog box. ChooseFont(&cf); // Create a logical font based on the user's // selection and return a handle identifying // that font. hfont = CreateFontIndirect(cf.lpLogFont); return (hfont); } Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com
-
Free Skin Systemhttp://www.codeguru.com/Cpp/controls/[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com
-
InformationYou're welcome. :) I've no idea to recommend the book, instead, you'd better to research many kind of examples in below page. http://www.codeguru.com/Cpp/controls/[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com
-
html-based modless WindeowYou're welcome. It's my pleasure. you can save the resource to temporary file, and load it by using the MFCIE. Or access it directly in MFCIE if it would work. see the below msdn reference. you can download the sample. http://msdn2.microsoft.com/en-us/library/ms177540(en-US,VS.80).aspx[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com
-
html-based modless Windeowuse below in your .rc file: TESTID RCDATA "htmlfile.html" and use it in your code. m_hInstance can be NULL. HRSRC h = FindResource(m_hInstance, "TESTID", RT_RCDATA); if (!h) { HGLOBAL f = LoadResource(m_hInstance, h); void* mem = LockResource(f); int size = SizeofResource(m_hInstance, h); } and cook it. Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com
-
Project helpto lock the directory, use SetCurrentDirectory("c:\\folder"); and you can catch the state of file or dir by using FindFirstChangeNotification API series. Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com
-
help for projectyou have to create your own data object class like below. ...::OnConnected(sockthread* client) { client->data = new MyClientData; .. } one thread has to have one MyClientData. this is the problem that mostly occured in socket programming. Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com