-
Content Count
322 -
Donations
$0.00 -
Joined
-
Last visited
Content Type
Profiles
Forums
AVSIM
Media Demo
Downloads
Gallery
Blogs
Forms
Everything posted by MKaprocki
-
Here's another post about it, on FlightInfo.comhttp://forums.flightinfo.com/showthread.php?threadid=25841
-
Using ATC instructions for VOR/DME approach?
MKaprocki replied to barryward12345's topic in MS FSX | FSX-SE Forum
Once you are cleared for the approach, you are allowed to descend down per the approach plates. Don't expect ATC to tell you to descend each time. ;) -
>The GDIPLUS.dll must be placed in the windowssystem>directory for windows98..>>RJCorrect. GDI Plus is not an FS module, it's a windows DLL used for drawing to the screen. Should be placed in Windowssystem. If you had XP, it would go in windowssystem32.
-
Changing Alpha values in GDI+
MKaprocki replied to a topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
So are you just trying to change the alpha of a bitmap, before drawing it?If so, try using a colormatrix. I used something like this to turn my bitmap into an alpha shadow:ImageAttributes ia;ColorMatrix colorMatrix = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, .50f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f};ia.SetColorMatrix(&colorMatrix, ColorMatrixFlagsDefault, ColorAdjustTypeBitmap); -
Modules and Menu Bars
MKaprocki replied to a topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
Try hhookSysMsg = SetWindowsHookEx(WH_CALLWNDPROC,CallWndProc,0, GetCurrentThreadId());UnhookWindowsHookEx(hhook_winproc) works fine for me, what error do you get?Also, in CallWndProc(), you should be using a CWPSTRUCT, such as:CWPSTRUCT *message;if (nCode >= 0){ message = (CWPSTRUCT *)lParam; if (message->message == WM_INITMENU) { hMenu = GetMenu(hWnd); SubMenu = GetSubMenu(hMenu, 0); MyMenu = CreatePopupMenu(); AppendMenu(MyMenu, MF_STRING, 12343, "&Click Me!"); AppendMenu(SubMenu, MF_STRING | MF_POPUP, (UINT)MyMenu, "&Test"); SetMenu(hwnd, hMenu); DrawMenuBar(hwnd); }} -
Modules and Menu Bars
MKaprocki replied to a topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
It's pretty tricky to do. You need to set a hook using SetWindowsHookEx on WH_CALLWNDPROC. Then in CallWndProc, when you get a WM_INITMENU message, draw your menu. Here's how I create the menu for my module:hMenu = GetMenu(hwnd);SubMenu = GetSubMenu(hMenu, 0);MyMenu = CreatePopupMenu();AppendMenu(MyMenu, MF_STRING, ID_FFS_SETTINGS, "&Settings");AppendMenu(MyMenu, MF_SEPARATOR, 0, 0);AppendMenu(MyMenu, MF_STRING, ID_FFS_ABOUT, "&About");AppendMenu(SubMenu, MF_STRING | MF_POPUP, (UINT)MyMenu, "Flight Factory");SetMenu(hwnd, hMenu); -
Modules and Menu Bars
MKaprocki replied to a topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
Here's my function for the WH_GETMESSAGE hook. Seems to work perfectly with no side effects. What way would you do it? WH_GETMESSAGE seems to be the only way I can catch a WM_COMMAND from a menu bar.LRESULT CALLBACK GetMsgProc(int nCode, WPARAM wParam, LPARAM lParam){ MSG *message; if (nCode >= 0) { message = (MSG *)lParam; if (message->message == WM_COMMAND) { if (LOWORD(message->wParam) == ID_FFS_ABOUT) { MessageBox(hwnd,"Flight Factory-Simulations!","FFS",MB_OK); } } } return CallNextHookEx(hhook_msgproc, nCode, wParam, lParam);} -
Modules and Menu Bars
MKaprocki replied to a topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
Never mind, I figured it out. Using a hook with WH_GETMESSAGE works perfectly! :-) -
I've got my module to display correctly on the FS menu bar, but I can't seem to intercept the clicks. I have a hook set for WH_CALLWNDPROC, and it works fine, but I'm not getting a WM_COMMAND message when I click on the menu bar. I thought WM_COMMAND was the message to look for when clicking the menu bar, but I guess not. If I open FSUIPC, I don't get a WM_COMMAND message until I click OK to close the dialog. I've also tried WM_MENUSELECT, but I'm having a hard time discerning the clicks on the sub menus from the main menus, along with highlites, etc. Any ideas? Thanks!
-
GPS export in FS2004
MKaprocki replied to phjvh's topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
I have no problems using gps_export.dll in FS2004. My F-16 panel is still able to retrieve flight plan info using it. Did you try putting gps_export.dll in the modules folder and using it? -
Barometric Pressure
MKaprocki replied to a topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
Try using KOHLSMAN_SETTING_MB or KOHLSMAN_SETTING_HG. That is, if you're using C and not XML. ;-) -
Debug gauges with VC++
MKaprocki replied to jcboliveira's topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
If you've got his SDK on gauge creation, Dai Griffiths explains how to do it. If you don't have it, search flightsim.com for it.One thing you might need to do is not set any breakpoints until after your gauge is loaded. I'm not sure if this is true, but I think I've had to do that in the past. -
Many will say that it only takes 3 or 4 thousand to get your PPL, but those are usually based on the bare minimum number of hours. Most people will usually require more than the minimum. $6500 seems to be about right, maybe even a little on the low side.Down here a 152 is $61 an hour. I forget what the price of instruction was where I got my private. Think it was in the $40 range.
-
To Anyone that is a Student At Embry Riddle Aeronautical Univ.
MKaprocki replied to a topic in Hangar Chat
172SPs go for $100-$110 in this area, look it up. There's more than enough planes for the number of students. I've been turned away once, when all of the Arrows where down for some emergency maintanence. You'll never have problems getting a 172 here. -
http://www.itc.virginia.edu/desktop/docs/messagepopup/
-
To Anyone that is a Student At Embry Riddle Aeronautical Univ.
MKaprocki replied to a topic in Hangar Chat
>why the fascination with riddle? why not just get all your>ratings at a good part 61 school? or goto a "real" school like>purdue, und, siu, etc? the simulator "stuff" that riddle gives>you is not worth anything when it comes time to interview for>a job.There's more to Riddle than just flying, you know? We are just as real of a school as others. Aerospace, computer science, human factors...all kinds of other degrees and classes. -
To Anyone that is a Student At Embry Riddle Aeronautical Univ.
MKaprocki replied to a topic in Hangar Chat
Just finished my first year here and love it. I graduated high school with a 3.75 GPA and a 1200 SAT. It's not cheap, and I've heard that as long as you've got the money they'll take you. Don't really know if there's any truth to that, though. -
FS creators, thank you
MKaprocki replied to spokes2112's topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
Very well said! Thanks guys! :-beerchug Matt -
Don't worry, they mispelled my name twice. :( Great read, though.
-
AETI AFCS II yoke users and Win XP Pro
MKaprocki replied to 01pewterz28's topic in MS FSX | FSX-SE Forum
I forget exactly which ones I'm using. I think it's either the CH Flightstick or Fighterstick. I tried a couple from CH to find one that worked. Get them from www.chproducts.comMatt -
*** YES!!!! VECTORS IN VC!!!!!! ***
MKaprocki replied to a topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
Maybe I'm just speechless. :-lol Matt -
*** YES!!!! VECTORS IN VC!!!!!! ***
MKaprocki replied to a topic in FSX/FSX-SE Aircraft and Panel Design Forum - How To
:-yellow1 Matt -
Capped at 2 Mb/s with Cable. Have seen upwards of 400-500 KB/s before they bumped the speeds down. ;( Very happy with my cable and would stick with it over DSL.Matt
-
Whats involved in a catergory 1 medical
MKaprocki replied to someone's topic in MS FSX | FSX-SE Forum
Here's another good site to go with the previous one.http://www.leftseat.com/FAAforms.htmMatt