Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

EXTEIDE

@EXTEIDE
About
Posts
44
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • filter:alpha(opacity=..) problem with iframe
    E EXTEIDE

    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[^]

    Web Development help question

  • filter:alpha(opacity=..) problem with iframe
    E EXTEIDE

    i 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.

    Web Development help question

  • Horizontal scroll and vertical scroll--difference ?
    E EXTEIDE

    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

    C / C++ / MFC question

  • Horizontal scroll and vertical scroll--difference ?
    E EXTEIDE

    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

    C / C++ / MFC question

  • LowLevelKeyboardHook
    E EXTEIDE

    Did 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

    C / C++ / MFC help question c++

  • Console Output Formatting
    E EXTEIDE

    I 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

    C / C++ / MFC question

  • Looking for solid C+Tree or C*-Tree source
    E EXTEIDE

    I 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

    C / C++ / MFC data-structures architecture

  • Looking for solid C+Tree or C*-Tree source
    E EXTEIDE

    How 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

    C / C++ / MFC data-structures architecture

  • Help With VC++ SOcket Programming using MFCs
    E EXTEIDE

    Refer 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

    C / C++ / MFC c++ sysadmin help learning

  • How to let VS 6.0 to compile unicode resource file?
    E EXTEIDE

    Refer here[^] Enjoy:rose:

    Anderson Sheen Reduce a time to develop your environment. It's a free! http://www.exteide.com

    C / C++ / MFC visual-studio help tutorial question learning

  • Event handler for double click in CListCtrl
    E EXTEIDE

    Override 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

    C / C++ / MFC question

  • html-based modless Windeow
    E EXTEIDE

    ok. 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

    C / C++ / MFC html help question learning

  • Rotation text
    E EXTEIDE

    right. i've sold out lfEscapement.:-D Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com

    C / C++ / MFC help tutorial question

  • Rotation text
    E EXTEIDE

    following 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

    C / C++ / MFC help tutorial question

  • Free Skin System
    E EXTEIDE

    http://www.codeguru.com/Cpp/controls/[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com

    C / C++ / MFC question

  • Information
    E EXTEIDE

    You'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

    C / C++ / MFC csharp c++ tutorial learning

  • html-based modless Windeow
    E EXTEIDE

    You'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

    C / C++ / MFC html help question learning

  • html-based modless Windeow
    E EXTEIDE

    use 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

    C / C++ / MFC html help question learning

  • Project help
    E EXTEIDE

    to 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

    C / C++ / MFC help

  • help for project
    E EXTEIDE

    you 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

    C / C++ / MFC help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups